From: navin patidar Date: Tue, 27 May 2014 15:35:48 +0000 (+0530) Subject: staging: rtl8188eu:Drop rtw_handle_dualmac() function calls in rtw_usb_if1_deinit() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=383ff5492d491c9a19395b28d755f434f8536b95;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: rtl8188eu:Drop rtw_handle_dualmac() function calls in rtw_usb_if1_deinit() rtw_usb_if1_init() assign NULL to pbuddy_padapter variable which is not being used. Signed-off-by: navin patidar Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c b/drivers/staging/rtl8188eu/os_dep/usb_intf.c index aa93cd00c4ae..7b1c774cfc9e 100644 --- a/drivers/staging/rtl8188eu/os_dep/usb_intf.c +++ b/drivers/staging/rtl8188eu/os_dep/usb_intf.c @@ -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);