From: Ben Marsh Date: Sat, 12 Mar 2016 09:33:00 +0000 (+0100) Subject: Staging: rtl8188eu: removes an unnecessary cast on a void pointer. X-Git-Tag: v4.7-rc1~90^2~762 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5a9e10a11e6a76f726235a788265b7c6c5bd1bd7;p=karo-tx-linux.git Staging: rtl8188eu: removes an unnecessary cast on a void pointer. Patch to rtl8188e_rxdesc.c to remove an unnecessary cast on a void pointer. Signed-off-by: Ben Marsh Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c b/drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c index 53cf3baf46e0..4c78369673b6 100644 --- a/drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c +++ b/drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c @@ -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);