diff options
author | navin patidar | 2014-06-11 19:21:29 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2014-06-20 00:34:01 +0200 |
commit | 05fa5ec2d8d12892f9945beebd3fdbfde7853b91 (patch) | |
tree | 4611f23effb65ee2e34493c44a55c7b205696ce7 /drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c | |
parent | staging: rtl8188eu: Remove function _rtw_read_port_cancel() (diff) | |
download | kernel-qcow2-linux-05fa5ec2d8d12892f9945beebd3fdbfde7853b91.tar.gz kernel-qcow2-linux-05fa5ec2d8d12892f9945beebd3fdbfde7853b91.tar.xz kernel-qcow2-linux-05fa5ec2d8d12892f9945beebd3fdbfde7853b91.zip |
staging: rtl8188eu: Remove function _rtw_write_port()
_rtw_write_port() is a wrapper function, being used to call usb_write_port().
Call usb_write_port() directly and drop _rtw_write_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/hal/rtl8188eu_xmit.c')
-rw-r--r-- | drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c b/drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c index 3476f8898330..4bc2ce0bb319 100644 --- a/drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c +++ b/drivers/staging/rtl8188eu/hal/rtl8188eu_xmit.c @@ -397,7 +397,7 @@ static s32 rtw_dump_xframe(struct adapter *adapt, struct xmit_frame *pxmitframe) } ff_hwaddr = rtw_get_ff_hwaddr(pxmitframe); - inner_ret = rtw_write_port(adapt, ff_hwaddr, w_sz, (unsigned char *)pxmitbuf); + inner_ret = usb_write_port(adapt, ff_hwaddr, w_sz, (unsigned char *)pxmitbuf); rtw_count_tx_stats(adapt, pxmitframe, sz); @@ -608,7 +608,7 @@ s32 rtl8188eu_xmitframe_complete(struct adapter *adapt, struct xmit_priv *pxmitp /* 3 4. write xmit buffer to USB FIFO */ ff_hwaddr = rtw_get_ff_hwaddr(pfirstframe); - rtw_write_port(adapt, ff_hwaddr, pbuf_tail, (u8 *)pxmitbuf); + usb_write_port(adapt, ff_hwaddr, pbuf_tail, (u8 *)pxmitbuf); /* 3 5. update statisitc */ pbuf_tail -= (pfirstframe->agg_num * TXDESC_SIZE); |