From 7922fd1a5c6800bb55e4a8371acbd109a7b0b505 Mon Sep 17 00:00:00 2001 From: navin patidar Date: Sun, 1 Jun 2014 17:46:32 +0530 Subject: [PATCH] staging : rtl8188eu: Remove drv_registered from struct rtw_usb_drv Signed-off-by: navin patidar Signed-off-by: Greg Kroah-Hartman --- drivers/staging/rtl8188eu/os_dep/usb_intf.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/staging/rtl8188eu/os_dep/usb_intf.c b/drivers/staging/rtl8188eu/os_dep/usb_intf.c index 1841d54..c99b9c2 100644 --- a/drivers/staging/rtl8188eu/os_dep/usb_intf.c +++ b/drivers/staging/rtl8188eu/os_dep/usb_intf.c @@ -62,7 +62,6 @@ MODULE_DEVICE_TABLE(usb, rtw_usb_id_tbl); struct rtw_usb_drv { struct usb_driver usbdrv; - int drv_registered; }; static struct rtw_usb_drv rtl8188e_usb_drv = { @@ -731,7 +730,6 @@ static int __init rtw_drv_entry(void) DBG_88E(DRV_NAME " driver version=%s\n", DRIVERVERSION); - usb_drv->drv_registered = true; return usb_register(&usb_drv->usbdrv); } @@ -740,7 +738,6 @@ static void __exit rtw_drv_halt(void) RT_TRACE(_module_hci_intfs_c_, _drv_err_, ("+rtw_drv_halt\n")); DBG_88E("+rtw_drv_halt\n"); - usb_drv->drv_registered = false; usb_deregister(&usb_drv->usbdrv); DBG_88E("-rtw_drv_halt\n"); -- 2.7.4