diff options
author | Ivan Safonov <insafonov@gmail.com> | 2016-09-18 17:25:25 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-09-20 11:33:49 (GMT) |
commit | 8fc01db37dfe00f748eb548d304640fc3148b2ab (patch) | |
tree | 72df20c87ee9616d67b0bbd4b493161a5c795679 /drivers | |
parent | 111e4e5ac225a2b517994ae499fde729c7e4c551 (diff) | |
download | linux-8fc01db37dfe00f748eb548d304640fc3148b2ab.tar.xz |
staging: r8188eu: delete rtw_usb_bulk_size_boundary function
This function does not used.
Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/rtl8188eu/include/usb_ops_linux.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/drivers/staging/rtl8188eu/include/usb_ops_linux.h b/drivers/staging/rtl8188eu/include/usb_ops_linux.h index fde7753..78d9b6e 100644 --- a/drivers/staging/rtl8188eu/include/usb_ops_linux.h +++ b/drivers/staging/rtl8188eu/include/usb_ops_linux.h @@ -47,21 +47,6 @@ #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); |