bna: fix memory leak during RX path cleanup

The memory leak was caused by unintentional assignment of the Rx path
destroy callback function pointer to NULL just after correct
initialization.

Signed-off-by: Debashis Dutt <ddutt@brocade.com>
Signed-off-by: Rasesh Mody <rmody@brocade.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by Rasesh Mody and committed by David S. Miller 49b4947a 79ea6c89

-1
-1
drivers/net/bna/bnad.c
··· 1837 /* Initialize the Rx event handlers */ 1838 rx_cbfn.rcb_setup_cbfn = bnad_cb_rcb_setup; 1839 rx_cbfn.rcb_destroy_cbfn = bnad_cb_rcb_destroy; 1840 - rx_cbfn.rcb_destroy_cbfn = NULL; 1841 rx_cbfn.ccb_setup_cbfn = bnad_cb_ccb_setup; 1842 rx_cbfn.ccb_destroy_cbfn = bnad_cb_ccb_destroy; 1843 rx_cbfn.rx_cleanup_cbfn = bnad_cb_rx_cleanup;
··· 1837 /* Initialize the Rx event handlers */ 1838 rx_cbfn.rcb_setup_cbfn = bnad_cb_rcb_setup; 1839 rx_cbfn.rcb_destroy_cbfn = bnad_cb_rcb_destroy; 1840 rx_cbfn.ccb_setup_cbfn = bnad_cb_ccb_setup; 1841 rx_cbfn.ccb_destroy_cbfn = bnad_cb_ccb_destroy; 1842 rx_cbfn.rx_cleanup_cbfn = bnad_cb_rx_cleanup;