staging: rtl8188eu: Remove usb_suspend_sema from struct dvobj_priv
authornavin patidar <navin.patidar@gmail.com>
Sun, 1 Jun 2014 12:16:39 +0000 (17:46 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jun 2014 22:30:03 +0000 (15:30 -0700)
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/drv_types.h
drivers/staging/rtl8188eu/os_dep/usb_intf.c

index 318141880b7ae05de2606d7cafdbc6bddea2c59a..c441d46a77e256b083d0505eee3164299794ef72 100644 (file)
@@ -170,7 +170,6 @@ struct dvobj_priv {
        u8      RtNumInPipes;
        u8      RtNumOutPipes;
        int     ep_num[5]; /* endpoint number */
-       struct semaphore usb_suspend_sema;
        struct mutex  usb_vendor_req_mutex;
 
        u8 *usb_alloc_vendor_req_buf;
index 45d26087edaa7a5ba30781786a1b9c0f0b4dc2f4..2333fa648357dc70985180031d2ef192b3285360 100644 (file)
@@ -144,7 +144,6 @@ static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf)
        if (rtw_init_intf_priv(pdvobjpriv) == _FAIL)
                goto free_dvobj;
 
-       sema_init(&(pdvobjpriv->usb_suspend_sema), 0);
        rtw_reset_continual_urb_error(pdvobjpriv);
 
        usb_get_dev(pusbd);