staging:r8188eu: remove unnecessary type cast for update_recvframe_phyinfo_88e argument
authorIvan Safonov <insafonov@gmail.com>
Fri, 7 Oct 2016 18:01:33 +0000 (01:01 +0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 16 Oct 2016 08:25:32 +0000 (10:25 +0200)
pphy_status alreay is (struct phy_stat *).

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/os_dep/usb_ops_linux.c

index cc52082..34198fe 100644 (file)
@@ -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"));