]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: r8188eu: remove ep_num member of dvobj_priv structure
authorIvan Safonov <insafonov@gmail.com>
Sat, 3 Sep 2016 15:30:28 +0000 (22:30 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 12 Sep 2016 09:23:21 +0000 (11:23 +0200)
Value of the ep_num does not used.

Signed-off-by: Ivan Safonov <insafonov@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 92807a449966cd23acdcdf609fd953bdeb8edff6..289f2aa88f67f2d3d5cc57de1d2e421b607c9b0e 100644 (file)
@@ -154,7 +154,6 @@ struct dvobj_priv {
        u8      ishighspeed;
        u8      RtNumInPipes;
        u8      RtNumOutPipes;
-       int     ep_num[5]; /* endpoint number */
        struct mutex  usb_vendor_req_mutex;
 
        struct usb_interface *pusbintf;
index 16effd791d6aaf395ccff82cd19ea4fe9dea348f..4a7a557796ecbd2a0a21abdb71111b834e4c1074 100644 (file)
@@ -98,7 +98,6 @@ static struct dvobj_priv *usb_dvobj_init(struct usb_interface *usb_intf)
                                ep_num;
                        pdvobjpriv->RtNumOutPipes++;
                }
-               pdvobjpriv->ep_num[i] = ep_num;
        }
 
        if (pusbd->speed == USB_SPEED_HIGH)