staging: r8188eu: delete rtw_usb_bulk_size_boundary function
authorIvan Safonov <insafonov@gmail.com>
Sun, 18 Sep 2016 17:25:25 +0000 (00:25 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 20 Sep 2016 11:33:49 +0000 (13:33 +0200)
This function does not used.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/include/usb_ops_linux.h

index fde7753916ee0cd8ccce5e7a883b4fdaeec1bd9b..78d9b6e035bfcc40e4b147a5804a9f0c5f7ba5ce 100644 (file)
 #define usb_read_interrupt_complete(purb, regs)                \
        usb_read_interrupt_complete(purb)
 
-static inline u8 rtw_usb_bulk_size_boundary(struct adapter *padapter,
-                                           int buf_len)
-{
-       u8 rst = true;
-       struct dvobj_priv *pdvobjpriv = adapter_to_dvobj(padapter);
-
-       if (pdvobjpriv->ishighspeed)
-               rst = (0 == (buf_len) % USB_HIGH_SPEED_BULK_SIZE) ?
-                     true : false;
-       else
-               rst = (0 == (buf_len) % USB_FULL_SPEED_BULK_SIZE) ?
-                     true : false;
-       return rst;
-}
-
 unsigned int ffaddr2pipehdl(struct dvobj_priv *pdvobj, u32 addr);
 
 u8 usb_read8(struct adapter *adapter, u32 addr);