summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8188eu/os_dep
diff options
context:
space:
mode:
authorIvan Safonov <insafonov@gmail.com>2016-10-08 01:01:33 +0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-10-16 10:25:32 +0200
commitf346d62f33fe7cf320427a9153d1a4bdac1c62a2 (patch)
treeb254962ddb1f521a64236e3161f46c5ade16e605 /drivers/staging/rtl8188eu/os_dep
parentcd30a392493215f3bed649ceac6f0aa53d4e92dd (diff)
downloadop-kernel-dev-f346d62f33fe7cf320427a9153d1a4bdac1c62a2.zip
op-kernel-dev-f346d62f33fe7cf320427a9153d1a4bdac1c62a2.tar.gz
staging:r8188eu: remove unnecessary type cast for update_recvframe_phyinfo_88e argument
pphy_status alreay is (struct phy_stat *). Signed-off-by: Ivan Safonov <insafonov@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8188eu/os_dep')
-rw-r--r--drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c b/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
index cc52082..34198fe 100644
--- a/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
+++ b/drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c
@@ -167,7 +167,7 @@ static int recvbuf2recvframe(struct adapter *adapt, struct sk_buff *pskb)
}
if (pattrib->pkt_rpt_type == NORMAL_RX) { /* Normal rx packet */
if (pattrib->physt)
- update_recvframe_phyinfo_88e(precvframe, (struct phy_stat *)pphy_status);
+ update_recvframe_phyinfo_88e(precvframe, pphy_status);
if (rtw_recv_entry(precvframe) != _SUCCESS) {
RT_TRACE(_module_rtl871x_recv_c_, _drv_err_,
("recvbuf2recvframe: rtw_recv_entry(precvframe) != _SUCCESS\n"));
OpenPOWER on IntegriCloud