Skip to contentSkip to conversation

staging: r8192U_core: Replace 0 with NULL

PATCH New Ioana Ciornei 1 participant 1 message Mar 28, 2015 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: r8192U_core: Replace 0 with NULL

Replace 0 with NULL since member pp_rxskb of structure r8192_priv has pointer type.

---
 drivers/staging/rtl8192u/r8192U_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/rtl8192u/r8192U_core.c +1 -1
index d612e4a..af14a4f 100644
@@ -1751,7 +1751,7 @@ void rtl8192_usb_deleteendpoints(struct net_device *dev)
 	kfree(priv->oldaddr);
 	priv->oldaddr = NULL;
 	kfree(priv->pp_rxskb);
-	priv->pp_rxskb = 0;
+	priv->pp_rxskb = NULL;
 
 #endif
 }
Signature · 1 line
1.9.1