staging: r8188eu: usb_suspend_sema is initialised but not used
usb_suspend_sema from struct dvobj_priv is initialised but never used. Remove it. Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20220206175925.461426-5-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
0266c945a8
Коммит
1091a8737b
|
@ -139,7 +139,6 @@ struct dvobj_priv {
|
|||
|
||||
u8 ishighspeed;
|
||||
u8 RtNumOutPipes;
|
||||
struct semaphore usb_suspend_sema;
|
||||
|
||||
struct usb_interface *pusbintf;
|
||||
struct usb_device *pusbdev;
|
||||
|
|
|
@ -126,7 +126,6 @@ static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf)
|
|||
}
|
||||
|
||||
/* 3 misc */
|
||||
sema_init(&pdvobjpriv->usb_suspend_sema, 0);
|
||||
rtw_reset_continual_urb_error(pdvobjpriv);
|
||||
|
||||
usb_get_dev(pusbd);
|
||||
|
|
Загрузка…
Ссылка в новой задаче