Commit 999266d8 authored by Ivan Safonov's avatar Ivan Safonov Committed by Greg Kroah-Hartman

staging: r8188eu: remove ep_num member of dvobj_priv structure

Value of the ep_num does not used.
Signed-off-by: default avatarIvan Safonov <insafonov@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent cf65514a
...@@ -154,7 +154,6 @@ struct dvobj_priv { ...@@ -154,7 +154,6 @@ struct dvobj_priv {
u8 ishighspeed; u8 ishighspeed;
u8 RtNumInPipes; u8 RtNumInPipes;
u8 RtNumOutPipes; u8 RtNumOutPipes;
int ep_num[5]; /* endpoint number */
struct mutex usb_vendor_req_mutex; struct mutex usb_vendor_req_mutex;
struct usb_interface *pusbintf; struct usb_interface *pusbintf;
......
...@@ -98,7 +98,6 @@ static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf) ...@@ -98,7 +98,6 @@ static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf)
ep_num; ep_num;
pdvobjpriv->RtNumOutPipes++; pdvobjpriv->RtNumOutPipes++;
} }
pdvobjpriv->ep_num[i] = ep_num;
} }
if (pusbd->speed == USB_SPEED_HIGH) if (pusbd->speed == USB_SPEED_HIGH)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment