diff options
author | Guillaume Clement <gclement@baobob.org> | 2014-07-24 23:06:28 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-07-27 18:21:28 (GMT) |
commit | 70ae543b3260a1cb53b30320d650effa575fa174 (patch) | |
tree | cd37a3013098224a91240a190b50641ea959fc20 | |
parent | 1ce87e24095cde26b58cf898cd02e6b27239ae84 (diff) | |
download | linux-70ae543b3260a1cb53b30320d650effa575fa174.tar.xz |
staging: vt6655: Remove NULL pointer sparse warning
We were using 0 instead of NULL to initialize a pointer, which caused
a sparse warning.
Signed-off-by: Guillaume Clement <gclement@baobob.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/vt6655/device_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c index 4413e4a..1e1d3b4 100644 --- a/drivers/staging/vt6655/device_main.c +++ b/drivers/staging/vt6655/device_main.c @@ -1626,7 +1626,7 @@ static void device_free_tx_buf(PSDevice pDevice, PSTxDesc pDesc) dev_kfree_skb_irq(skb); pTDInfo->skb_dma = 0; - pTDInfo->skb = 0; + pTDInfo->skb = NULL; pTDInfo->byFlags = 0; } |