]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commitdiff
staging: rtl8188eu:Drop rtw_handle_dualmac() function calls in rtw_usb_if1_deinit()
authornavin patidar <navin.patidar@gmail.com>
Tue, 27 May 2014 15:35:48 +0000 (21:05 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 19:03:42 +0000 (12:03 -0700)
rtw_usb_if1_init() assign NULL to pbuddy_padapter variable which is not
being used.

Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/usb_intf.c

index aa93cd00c4ae4fb4ca764031edc9a7d553c3d89f..7b1c774cfc9e0e383b238433ddb0c03479507c19 100644 (file)
@@ -654,7 +654,6 @@ static void rtw_usb_if1_deinit(struct adapter *if1)
        rtw_dev_unload(if1);
        DBG_88E("+r871xu_dev_remove, hw_init_completed=%d\n",
                if1->hw_init_completed);
-       rtw_handle_dualmac(if1, 0);
        rtw_free_drv_sw(if1);
        if (pnetdev)
                rtw_free_netdev(pnetdev);