rtl8188eu: Remove a couple of useless routines from platform/

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
Larry Finger 2018-10-25 11:31:36 -05:00
parent 6882712849
commit c589c7a0c2
3 changed files with 1 additions and 23 deletions

View file

@ -1526,16 +1526,6 @@ static int __init rtw_drv_entry(void)
RTW_INFO(DRV_NAME" BT-Coex version = %s\n", BTCOEXVERSION);
#endif /* BTCOEXVERSION */
ret = platform_wifi_power_on();
if (ret != 0) {
RTW_INFO("%s: power on failed!!(%d)\n", __FUNCTION__, ret);
ret = -1;
goto exit;
}
#if (LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 24))
/* console_suspend_enabled=0; */
#endif
usb_drv.drv_registered = _TRUE;
rtw_suspend_lock_init();
rtw_drv_proc_init();
@ -1564,8 +1554,6 @@ static void __exit rtw_drv_halt(void)
usb_deregister(&usb_drv.usbdrv);
platform_wifi_power_off();
rtw_suspend_lock_uninit();
rtw_drv_proc_deinit();
rtw_ndev_notifier_unregister();