mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-05 19:24:01 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
1ce87e2409
commit
70ae543b32
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user