diff options
author | navin patidar <navin.patidar@gmail.com> | 2014-06-11 22:51:36 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-06-19 15:34:02 -0700 |
commit | c7b2e995a1226a09a30ad0f9dd6e922f21b3dd28 (patch) | |
tree | 755b581c6af6259d4bde1d12c38ad2e7ade740ca /drivers/staging/rtl8188eu/core/rtw_mp_ioctl.c | |
parent | 551a397227e34e9f895182946365f63fbd8e4b8d (diff) | |
download | op-kernel-dev-c7b2e995a1226a09a30ad0f9dd6e922f21b3dd28.zip op-kernel-dev-c7b2e995a1226a09a30ad0f9dd6e922f21b3dd28.tar.gz |
staging: rtl8188eu: Remove function _rtw_read8()
_rtw_read8() is a wrapper function, being used to call usb_read8().
Call usb_read8() directly and drop _rtw_read8().
Signed-off-by: navin patidar <navin.patidar@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/core/rtw_mp_ioctl.c')
-rw-r--r-- | drivers/staging/rtl8188eu/core/rtw_mp_ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_mp_ioctl.c b/drivers/staging/rtl8188eu/core/rtw_mp_ioctl.c index 4f6e7e8..c06cd82 100644 --- a/drivers/staging/rtl8188eu/core/rtw_mp_ioctl.c +++ b/drivers/staging/rtl8188eu/core/rtw_mp_ioctl.c @@ -801,7 +801,7 @@ int rtl8188eu_oid_rt_pro_read_register_hdl(struct oid_par_priv *poid_par_priv) switch (width) { case 1: - RegRWStruct->value = rtw_read8(Adapter, offset); + RegRWStruct->value = usb_read8(Adapter, offset); break; case 2: RegRWStruct->value = usb_read16(Adapter, offset); |