projects
/
deliverable
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
NULL noise in drivers/net
[deliverable/linux.git]
/
drivers
/
net
/
wan
/
lmc
/
lmc_media.c
diff --git
a/drivers/net/wan/lmc/lmc_media.c
b/drivers/net/wan/lmc/lmc_media.c
index c9c878cd5c72725e6bbc44df92b599afef466b3b..8aa461c941ce903680372cdd25feb12f374c4e72 100644
(file)
--- 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)
static void
lmc_set_protocol (lmc_softc_t * const sc, lmc_ctl_t * ctl)
{
- if (ctl == 0)
- {
- sc->ictl.keepalive_onoff = LMC_CTL_ON;
-
- return;
- }
+ if (!ctl)
+ sc->ictl.keepalive_onoff = LMC_CTL_ON;
}
This page took
0.034956 seconds
and
5
git commands to generate.