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/wan/lmc/lmc_media.c | |
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/wan/lmc/lmc_media.c')
-rw-r--r-- | drivers/net/wan/lmc/lmc_media.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/wan/lmc/lmc_media.c b/drivers/net/wan/lmc/lmc_media.c index c9c878cd5c72..8aa461c941ce 100644 --- a/drivers/net/wan/lmc/lmc_media.c +++ b/drivers/net/wan/lmc/lmc_media.c | |||
@@ -1219,10 +1219,6 @@ lmc_t1_watchdog (lmc_softc_t * const sc) | |||
1219 | static void | 1219 | static void |
1220 | lmc_set_protocol (lmc_softc_t * const sc, lmc_ctl_t * ctl) | 1220 | lmc_set_protocol (lmc_softc_t * const sc, lmc_ctl_t * ctl) |
1221 | { | 1221 | { |
1222 | if (ctl == 0) | 1222 | if (!ctl) |
1223 | { | 1223 | sc->ictl.keepalive_onoff = LMC_CTL_ON; |
1224 | sc->ictl.keepalive_onoff = LMC_CTL_ON; | ||
1225 | |||
1226 | return; | ||
1227 | } | ||
1228 | } | 1224 | } |