mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 11:46:19 +00:00
ipg: use NULL, not zero, for pointers
Fixes a sparse warning in a code block that's hidden under JUMBO_FRAME #ifdef. Tested-by: Andrew Savchenko <Bircoph@list.ru> Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
This commit is contained in:
parent
ecfecfb5e3
commit
e8399fed7e
1 changed files with 1 additions and 1 deletions
|
@ -1808,7 +1808,7 @@ static int ipg_nic_open(struct net_device *dev)
|
|||
/* initialize JUMBO Frame control variable */
|
||||
sp->jumbo.found_start = 0;
|
||||
sp->jumbo.current_size = 0;
|
||||
sp->jumbo.skb = 0;
|
||||
sp->jumbo.skb = NULL;
|
||||
dev->mtu = IPG_TXFRAG_SIZE;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue