diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-01-24 05:06:46 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:07:12 -0500 |
commit | 79ea13ce07c951bb4d95471e7300baa0f1be9e78 (patch) | |
tree | c0ea320464201854c5d3a222e2dd0d10ae22c95f /drivers/net/hamradio | |
parent | 3e18826c73735eee5fca92584137824d9a387008 (diff) |
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>
Diffstat (limited to 'drivers/net/hamradio')
-rw-r--r-- | drivers/net/hamradio/6pack.c | 2 | ||||
-rw-r--r-- | drivers/net/hamradio/mkiss.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/hamradio/6pack.c b/drivers/net/hamradio/6pack.c index 580cb4ab2af1..0a9b75139e0f 100644 --- a/drivers/net/hamradio/6pack.c +++ b/drivers/net/hamradio/6pack.c | |||
@@ -701,7 +701,7 @@ static void sixpack_close(struct tty_struct *tty) | |||
701 | sp = tty->disc_data; | 701 | sp = tty->disc_data; |
702 | tty->disc_data = NULL; | 702 | tty->disc_data = NULL; |
703 | write_unlock(&disc_data_lock); | 703 | write_unlock(&disc_data_lock); |
704 | if (sp == 0) | 704 | if (!sp) |
705 | return; | 705 | return; |
706 | 706 | ||
707 | /* | 707 | /* |
diff --git a/drivers/net/hamradio/mkiss.c b/drivers/net/hamradio/mkiss.c index 803a3bdea0af..cfcd15af501e 100644 --- a/drivers/net/hamradio/mkiss.c +++ b/drivers/net/hamradio/mkiss.c | |||
@@ -821,7 +821,7 @@ static void mkiss_close(struct tty_struct *tty) | |||
821 | tty->disc_data = NULL; | 821 | tty->disc_data = NULL; |
822 | write_unlock(&disc_data_lock); | 822 | write_unlock(&disc_data_lock); |
823 | 823 | ||
824 | if (ax == 0) | 824 | if (!ax) |
825 | return; | 825 | return; |
826 | 826 | ||
827 | /* | 827 | /* |