NULL noise in drivers/net
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Jeff Garzik <jeff@garzik.org> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committad av
David S. Miller

förälder
3e18826c73
incheckning
79ea13ce07
@@ -701,7 +701,7 @@ static void sixpack_close(struct tty_struct *tty)
|
||||
sp = tty->disc_data;
|
||||
tty->disc_data = NULL;
|
||||
write_unlock(&disc_data_lock);
|
||||
if (sp == 0)
|
||||
if (!sp)
|
||||
return;
|
||||
|
||||
/*
|
||||
|
@@ -821,7 +821,7 @@ static void mkiss_close(struct tty_struct *tty)
|
||||
tty->disc_data = NULL;
|
||||
write_unlock(&disc_data_lock);
|
||||
|
||||
if (ax == 0)
|
||||
if (!ax)
|
||||
return;
|
||||
|
||||
/*
|
||||
|
Referens i nytt ärende
Block a user