Staging: rtl8188eu: removes an unnecessary cast on a void pointer.
authorBen Marsh <bmarsh94@gmail.com>
Sat, 12 Mar 2016 09:33:00 +0000 (10:33 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 28 Mar 2016 14:30:36 +0000 (07:30 -0700)
Patch to rtl8188e_rxdesc.c to remove an unnecessary cast on a void
pointer.

Signed-off-by: Ben Marsh <bmarsg94@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c

index 53cf3baf46e05b31af7960bd887a042be88d815c..4c78369673b65263650d2d323240bdd001c64bb1 100644 (file)
@@ -64,7 +64,7 @@ static void process_link_qual(struct adapter *padapter,
 
 void rtl8188e_process_phy_info(struct adapter *padapter, void *prframe)
 {
-       struct recv_frame *precvframe = (struct recv_frame *)prframe;
+       struct recv_frame *precvframe = prframe;
 
        /*  Check RSSI */
        process_rssi(padapter, precvframe);