summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu/hal/usb_ops_linux.c
diff options
context:
space:
mode:
authornavin patidar <navin.patidar@gmail.com>2014-06-11 22:51:35 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-19 15:34:02 -0700
commit551a397227e34e9f895182946365f63fbd8e4b8d (patch)
treedf31f3f95c8e9cc924bd297e8fa9eea63420e266 /drivers/staging/rtl8188eu/hal/usb_ops_linux.c
parent99ecfb06f83ec7eaa9110fa887cef3f55d031bf4 (diff)
downloadop-kernel-dev-551a397227e34e9f895182946365f63fbd8e4b8d.zip
op-kernel-dev-551a397227e34e9f895182946365f63fbd8e4b8d.tar.gz
staging: rtl8188eu: Remove function _rtw_read16()
_rtw_read16() is a wrapper function, being used to call usb_read16(). Call usb_read16() directly and drop _rtw_read16(). Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/hal/usb_ops_linux.c')
-rw-r--r--drivers/staging/rtl8188eu/hal/usb_ops_linux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/hal/usb_ops_linux.c b/drivers/staging/rtl8188eu/hal/usb_ops_linux.c
index 9fd1c66..d5d9288 100644
--- a/drivers/staging/rtl8188eu/hal/usb_ops_linux.c
+++ b/drivers/staging/rtl8188eu/hal/usb_ops_linux.c
@@ -139,7 +139,7 @@ static u8 usb_read8(struct adapter *adapter, u32 addr)
}
-static u16 usb_read16(struct adapter *adapter, u32 addr)
+u16 usb_read16(struct adapter *adapter, u32 addr)
{
u8 request;
u8 requesttype;
@@ -667,5 +667,4 @@ void rtl8188eu_set_intf_ops(struct _io_ops *pops)
{
_rtw_memset((u8 *)pops, 0, sizeof(struct _io_ops));
pops->_read8 = &usb_read8;
- pops->_read16 = &usb_read16;
}
OpenPOWER on IntegriCloud