staging: rtl8723au: usb_dvobj_init(): Remove unused variable 'pdev_desc'
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
c8875b2f1f
Коммит
bd2dec915e
|
@ -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)
|
static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf)
|
||||||
{
|
{
|
||||||
struct dvobj_priv *pdvobjpriv;
|
struct dvobj_priv *pdvobjpriv;
|
||||||
struct usb_device_descriptor *pdev_desc;
|
|
||||||
struct usb_host_config *phost_conf;
|
struct usb_host_config *phost_conf;
|
||||||
struct usb_config_descriptor *pconf_desc;
|
struct usb_config_descriptor *pconf_desc;
|
||||||
struct usb_host_interface *phost_iface;
|
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->RtNumInPipes = 0;
|
||||||
pdvobjpriv->RtNumOutPipes = 0;
|
pdvobjpriv->RtNumOutPipes = 0;
|
||||||
|
|
||||||
pdev_desc = &pusbd->descriptor;
|
|
||||||
|
|
||||||
phost_conf = pusbd->actconfig;
|
phost_conf = pusbd->actconfig;
|
||||||
pconf_desc = &phost_conf->desc;
|
pconf_desc = &phost_conf->desc;
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче