staging: rtl8723au: usb_dvobj_init(): Remove unused variable 'pdev_desc'
authorJes Sorensen <Jes.Sorensen@redhat.com>
Thu, 31 Jul 2014 08:36:45 +0000 (10:36 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 1 Aug 2014 21:43:37 +0000 (14:43 -0700)
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8723au/os_dep/usb_intf.c

index c5ff1b8e85e8d89fa3a36a4d4e219d46e2aa9769..865743ecd8558e6aff7965929990cc317de1669e 100644 (file)
@@ -91,7 +91,6 @@ static int rtw_deinit_intf_priv(struct dvobj_priv *dvobj)
 static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf)
 {
        struct dvobj_priv *pdvobjpriv;
-       struct usb_device_descriptor *pdev_desc;
        struct usb_host_config   *phost_conf;
        struct usb_config_descriptor *pconf_desc;
        struct usb_host_interface *phost_iface;
@@ -119,8 +118,6 @@ static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf)
        pdvobjpriv->RtNumInPipes = 0;
        pdvobjpriv->RtNumOutPipes = 0;
 
-       pdev_desc = &pusbd->descriptor;
-
        phost_conf = pusbd->actconfig;
        pconf_desc = &phost_conf->desc;