diff options
author | andre <andre@FreeBSD.org> | 2012-10-18 13:57:24 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2012-10-18 13:57:24 +0000 |
commit | 34a9a386cb4df8844bca8e43dae20e4a15710fcc (patch) | |
tree | 822857ae1f88eb65d6756450fb5600f0644b00d1 /sys/netgraph/atm | |
parent | bec3d0dcde51da4b3b1a5bc9fbea92a5353a57ed (diff) | |
download | FreeBSD-src-34a9a386cb4df8844bca8e43dae20e4a15710fcc.zip FreeBSD-src-34a9a386cb4df8844bca8e43dae20e4a15710fcc.tar.gz |
Mechanically remove the last stray remains of spl* calls from net*/*.
They have been Noop's for a long time now.
Diffstat (limited to 'sys/netgraph/atm')
-rw-r--r-- | sys/netgraph/atm/ccatm/ng_ccatm.c | 3 | ||||
-rw-r--r-- | sys/netgraph/atm/sscfu/ng_sscfu.c | 3 | ||||
-rw-r--r-- | sys/netgraph/atm/sscop/ng_sscop.c | 3 | ||||
-rw-r--r-- | sys/netgraph/atm/uni/ng_uni.c | 3 |
4 files changed, 0 insertions, 12 deletions
diff --git a/sys/netgraph/atm/ccatm/ng_ccatm.c b/sys/netgraph/atm/ccatm/ng_ccatm.c index 92e162c..a6ff474 100644 --- a/sys/netgraph/atm/ccatm/ng_ccatm.c +++ b/sys/netgraph/atm/ccatm/ng_ccatm.c @@ -1178,10 +1178,8 @@ ng_ccatm_log(const char *fmt, ...) static int ng_ccatm_mod_event(module_t mod, int event, void *data) { - int s; int error = 0; - s = splnet(); switch (event) { case MOD_LOAD: @@ -1194,6 +1192,5 @@ ng_ccatm_mod_event(module_t mod, int event, void *data) error = EOPNOTSUPP; break; } - splx(s); return (error); } diff --git a/sys/netgraph/atm/sscfu/ng_sscfu.c b/sys/netgraph/atm/sscfu/ng_sscfu.c index cca8198..45ccf49 100644 --- a/sys/netgraph/atm/sscfu/ng_sscfu.c +++ b/sys/netgraph/atm/sscfu/ng_sscfu.c @@ -587,10 +587,8 @@ sscfu_verbose(struct sscfu *sscfu, void *arg, const char *fmt, ...) static int ng_sscfu_mod_event(module_t mod, int event, void *data) { - int s; int error = 0; - s = splnet(); switch (event) { case MOD_LOAD: @@ -603,6 +601,5 @@ ng_sscfu_mod_event(module_t mod, int event, void *data) error = EOPNOTSUPP; break; } - splx(s); return (error); } diff --git a/sys/netgraph/atm/sscop/ng_sscop.c b/sys/netgraph/atm/sscop/ng_sscop.c index 729c818..67a3f07 100644 --- a/sys/netgraph/atm/sscop/ng_sscop.c +++ b/sys/netgraph/atm/sscop/ng_sscop.c @@ -861,10 +861,8 @@ sscop_send_manage(struct sscop *sscop, void *p, enum sscop_maasig sig, static int ng_sscop_mod_event(module_t mod, int event, void *data) { - int s; int error = 0; - s = splnet(); switch (event) { case MOD_LOAD: @@ -877,6 +875,5 @@ ng_sscop_mod_event(module_t mod, int event, void *data) error = EOPNOTSUPP; break; } - splx(s); return (error); } diff --git a/sys/netgraph/atm/uni/ng_uni.c b/sys/netgraph/atm/uni/ng_uni.c index 980b81a..7a3fe92 100644 --- a/sys/netgraph/atm/uni/ng_uni.c +++ b/sys/netgraph/atm/uni/ng_uni.c @@ -907,10 +907,8 @@ ng_uni_free(enum unimem type, void *ptr, const char *file, u_int lno) static int ng_uni_mod_event(module_t mod, int event, void *data) { - int s; int error = 0; - s = splnet(); switch(event) { case MOD_LOAD: @@ -925,6 +923,5 @@ ng_uni_mod_event(module_t mod, int event, void *data) error = EOPNOTSUPP; break; } - splx(s); return (error); } |