From: Jes Sorensen Date: Fri, 16 May 2014 08:05:06 +0000 (+0200) Subject: staging: rtl8723au: Call usb_{read,write}_port() functions directly X-Git-Tag: omap-for-v3.16/fixes-against-rc1~39^2~36^2~758 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=633475cf5e6bfca434c7feb06653b0a187274c1d;p=pandora-kernel.git staging: rtl8723au: Call usb_{read,write}_port() functions directly Get rid of more HAL layer obfuscations Signed-off-by: Jes Sorensen Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8723au/core/rtw_io.c b/drivers/staging/rtl8723au/core/rtw_io.c index 532ad758372f..45866d78f7ec 100644 --- a/drivers/staging/rtl8723au/core/rtw_io.c +++ b/drivers/staging/rtl8723au/core/rtw_io.c @@ -114,25 +114,3 @@ int _rtw_writeN23a(struct rtw_adapter *adapter, u32 addr , u32 length , u8 *pdat else return _SUCCESS; } - -void _rtw_read_port23a_cancel(struct rtw_adapter *adapter) -{ - void (*_read_port_cancel)(struct rtw_adapter *adapter); - struct _io_ops *io_ops = &adapter->io_ops; - - _read_port_cancel = io_ops->_read_port_cancel; - - if (_read_port_cancel) - _read_port_cancel(adapter); -} - -void _rtw_write_port23a_cancel(struct rtw_adapter *adapter) -{ - void (*_write_port_cancel)(struct rtw_adapter *adapter); - struct _io_ops *io_ops = &adapter->io_ops; - - _write_port_cancel = io_ops->_write_port_cancel; - - if (_write_port_cancel) - _write_port_cancel(adapter); -} Reading git-diff-tree failed