diff options
author | Sachin Kamat | 2013-10-09 12:28:30 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2013-10-12 00:36:31 +0200 |
commit | 875d2a134ea9977e31069ef9fb8c9bbe29f86d51 (patch) | |
tree | 9da0586544bb35a1ad15cd92339234919e1fdf22 /drivers/staging | |
parent | staging: lirc: Do not use 0 for NULL pointer (diff) | |
download | kernel-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')
-rw-r--r-- | drivers/staging/rtl8192u/r8192U_core.c | 2 |
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 |