mirror of
https://github.com/lwfinger/rtl8188eu.git
synced 2024-11-14 17:09:36 +00:00
rtl8188eu: Remove a couple of useless routines from platform/
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
This commit is contained in:
parent
6882712849
commit
c589c7a0c2
3 changed files with 1 additions and 23 deletions
|
@ -54,7 +54,7 @@ enum {
|
|||
|
||||
#define RTW_DBG_EXPR(EXPR) do {} while (0)
|
||||
|
||||
#define RTW_DBGDUMP 0 /* 'stream' for _dbgdump */
|
||||
#define RTW_DBGDUMP NULL /* 'stream' for _dbgdump */
|
||||
|
||||
/* don't use these 3 APIs anymore, will be removed later */
|
||||
#define RT_TRACE(_Comp, _Level, Fmt) do {} while (0)
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -23,15 +23,5 @@
|
|||
* 0: power on successfully
|
||||
* others: power on failed
|
||||
*/
|
||||
int platform_wifi_power_on(void)
|
||||
{
|
||||
int ret = 0;
|
||||
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
void platform_wifi_power_off(void)
|
||||
{
|
||||
}
|
||||
#endif /* !CONFIG_PLATFORM_OPS */
|
||||
|
|
Loading…
Reference in a new issue