summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8192u/r8192U_core.c
diff options
context:
space:
mode:
authorSachin Kamat2013-10-09 12:28:30 +0200
committerGreg Kroah-Hartman2013-10-12 00:36:31 +0200
commit875d2a134ea9977e31069ef9fb8c9bbe29f86d51 (patch)
tree9da0586544bb35a1ad15cd92339234919e1fdf22 /drivers/staging/rtl8192u/r8192U_core.c
parentstaging: lirc: Do not use 0 for NULL pointer (diff)
downloadkernel-qcow2-linux-875d2a134ea9977e31069ef9fb8c9bbe29f86d51.tar.gz
kernel-qcow2-linux-875d2a134ea9977e31069ef9fb8c9bbe29f86d51.tar.xz
kernel-qcow2-linux-875d2a134ea9977e31069ef9fb8c9bbe29f86d51.zip
staging: rtl8192u: Use NULL instead of 0
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>
Diffstat (limited to 'drivers/staging/rtl8192u/r8192U_core.c')
-rw-r--r--drivers/staging/rtl8192u/r8192U_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c
index cd0946db025c..c383e6450bd2 100644
--- a/drivers/staging/rtl8192u/r8192U_core.c
+++ b/drivers/staging/rtl8192u/r8192U_core.c
@@ -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