[PATCH 10/10] staging: vt6655: Use NULL instead of 0

Sachin Kamat sachin.kamat at linaro.org
Wed Oct 9 10:28:31 UTC 2013


Use NULL instead of 0 for pointer.

Signed-off-by: Sachin Kamat <sachin.kamat at linaro.org>
Cc: Forest Bond <forest at alittletooquiet.net>
---
 drivers/staging/vt6655/wroute.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/vt6655/wroute.c b/drivers/staging/vt6655/wroute.c
index b61328f..85302c5 100644
--- a/drivers/staging/vt6655/wroute.c
+++ b/drivers/staging/vt6655/wroute.c
@@ -179,7 +179,7 @@ bool ROUTEbRelay(PSDevice pDevice, unsigned char *pbySkbData, unsigned int uData
 		pHeadTD = pHeadTD->next;
 	}
 
-	pLastTD->pTDInfo->skb = 0;
+	pLastTD->pTDInfo->skb = NULL;
 	pLastTD->pTDInfo->byFlags = 0;
 
 	pDevice->apCurrTD[TYPE_AC0DMA] = pHeadTD;
-- 
1.7.9.5



More information about the devel mailing list