staging: rtl8192u: Use NULL instead of 0
authorSachin Kamat <sachin.kamat@linaro.org>
Wed, 9 Oct 2013 10:28:30 +0000 (15:58 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Oct 2013 22:36:31 +0000 (15:36 -0700)
Use NULL instead of 0 for pointer.

Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_core.c

index cd0946db025c3c51fd7d98ae46f88f0675606b5c..c383e6450bd2c0f7fddd2e78063384c12d0b5f79 100644 (file)
@@ -2009,7 +2009,7 @@ void rtl8192_usb_deleteendpoints(struct net_device *dev)
        priv->oldaddr = NULL;
        if (priv->pp_rxskb) {
                kfree(priv->pp_rxskb);
-               priv->pp_rxskb = 0;
+               priv->pp_rxskb = NULL;
        }
 }
 #else