[PATCH 09/10] staging: rtl8192u: Use NULL instead of 0
Sachin Kamat
sachin.kamat at linaro.org
Wed Oct 9 10:28:30 UTC 2013
Use NULL instead of 0 for pointer.
Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
---
drivers/staging/rtl8192u/r8192U_core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/rtl8192u/r8192U_core.c b/drivers/staging/rtl8192u/r8192U_core.c
index cd0946d..c383e64 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
--
1.7.9.5
More information about the devel
mailing list