aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu/os_dep/recv_linux.c
diff options
context:
space:
mode:
authornavin patidar <navin.patidar@gmail.com>2014-06-11 22:51:27 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-19 15:34:01 -0700
commit2478a1ce2e7a7d358875f79a4fb4a12ce10cd097 (patch)
tree1515350ff9e1de2d3b3bfbde247d0a1976903f06 /drivers/staging/rtl8188eu/os_dep/recv_linux.c
parentstaging: rtl8188eu: Remove function _rtw_writeN() (diff)
downloadlinux-dev-2478a1ce2e7a7d358875f79a4fb4a12ce10cd097.tar.xz
linux-dev-2478a1ce2e7a7d358875f79a4fb4a12ce10cd097.zip
staging: rtl8188eu: Remove function _rtw_read_port()
_rtw_read_port() is a wrapper function, being used to call usb_read_port(). use usb_read_port() directly and drop _rtw_read_port(). Signed-off-by: navin patidar <navin.patidar@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/os_dep/recv_linux.c')
-rw-r--r--drivers/staging/rtl8188eu/os_dep/recv_linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/os_dep/recv_linux.c b/drivers/staging/rtl8188eu/os_dep/recv_linux.c
index c0fa8fdb9d92..64dfc02ad08a 100644
--- a/drivers/staging/rtl8188eu/os_dep/recv_linux.c
+++ b/drivers/staging/rtl8188eu/os_dep/recv_linux.c
@@ -199,7 +199,7 @@ void rtw_os_read_port(struct adapter *padapter, struct recv_buf *precvbuf)
dev_kfree_skb_any(precvbuf->pskb);
precvbuf->pskb = NULL;
precvbuf->reuse = false;
- rtw_read_port(padapter, precvpriv->ff_hwaddr, 0,
+ usb_read_port(padapter, precvpriv->ff_hwaddr, 0,
(unsigned char *)precvbuf);
}