Staging: rtl8192e: remove assignment of function parameter
authorMatteo Semenzato <mattew8898@gmail.com>
Wed, 4 Mar 2015 18:53:10 +0000 (19:53 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 7 Mar 2015 00:59:53 +0000 (16:59 -0800)
This patch removes the assignment of a function parameter that has no
effect.

Signed-off-by: Matteo Semenzato <mattew8898@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192e/rtllib_rx.c

index 0a9cf445a0ef23fb41cde09b54e1484d0668d621..d640420f0076f3189dd2711336ab491c4068dbb6 100644 (file)
@@ -1225,7 +1225,6 @@ static void rtllib_rx_indicate_pkt_legacy(struct rtllib_device *ieee,
                }
        }
        kfree(rxb);
-       rxb = NULL;
 }
 
 static int rtllib_rx_InfraAdhoc(struct rtllib_device *ieee, struct sk_buff *skb,