Commit 875d2a13 authored by Sachin Kamat's avatar Sachin Kamat Committed by Greg Kroah-Hartman

staging: rtl8192u: Use NULL instead of 0

Use NULL instead of 0 for pointer.
Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 440ca3f0
...@@ -2009,7 +2009,7 @@ void rtl8192_usb_deleteendpoints(struct net_device *dev) ...@@ -2009,7 +2009,7 @@ void rtl8192_usb_deleteendpoints(struct net_device *dev)
priv->oldaddr = NULL; priv->oldaddr = NULL;
if (priv->pp_rxskb) { if (priv->pp_rxskb) {
kfree(priv->pp_rxskb); kfree(priv->pp_rxskb);
priv->pp_rxskb = 0; priv->pp_rxskb = NULL;
} }
} }
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment