mirror of
https://github.com/torvalds/linux
synced 2024-10-20 18:28:21 +00: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:
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue