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_io.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_io.c')
-rw-r--r-- | drivers/staging/rtl8188eu/core/rtw_io.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/drivers/staging/rtl8188eu/core/rtw_io.c b/drivers/staging/rtl8188eu/core/rtw_io.c index 3ce1134..25b0a87 100644 --- a/drivers/staging/rtl8188eu/core/rtw_io.c +++ b/drivers/staging/rtl8188eu/core/rtw_io.c @@ -51,19 +51,6 @@ jackson@realtek.com.tw #define rtw_cpu_to_le16(val) cpu_to_le16(val) #define rtw_cpu_to_le32(val) cpu_to_le32(val) - -u8 _rtw_read8(struct adapter *adapter, u32 addr) -{ - u8 r_val; - struct io_priv *pio_priv = &adapter->iopriv; - struct intf_hdl *pintfhdl = &(pio_priv->intf); - u8 (*_read8)(struct adapter *pintfhdl, u32 addr); - - _read8 = pintfhdl->io_ops._read8; - r_val = _read8(adapter, addr); - return r_val; -} - int rtw_init_io_priv(struct adapter *padapter, void (*set_intf_ops)(struct _io_ops *pops)) { struct io_priv *piopriv = &padapter->iopriv; |