]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: rtl8723au: Remove unused usb_suspend_sema
authorJes Sorensen <Jes.Sorensen@redhat.com>
Fri, 16 May 2014 08:04:56 +0000 (10:04 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 May 2014 18:34:33 +0000 (11:34 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/include/drv_types.h
drivers/staging/rtl8723au/os_dep/usb_intf.c

index 3f22523011397d5ca2d3921de5456b586f78e86b..b652754efb24427fa480d3524e43673e8596f95e 100644 (file)
@@ -178,8 +178,6 @@ struct dvobj_priv {
        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 97a2bc6102b573b42afcd9b15ef67811b3133ed9..b3965920b87c563376d4e6f89de5d5f71357cc74 100644 (file)
@@ -227,7 +227,6 @@ static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf)
                goto free_dvobj;
        }
        /* 3 misc */
-       sema_init(&(pdvobjpriv->usb_suspend_sema), 0);
        rtw_reset_continual_urb_error(pdvobjpriv);
        usb_get_dev(pusbd);
        status = _SUCCESS;