diff options
Diffstat (limited to 'sys/netgraph/atm/uni/ng_uni.c')
-rw-r--r-- | sys/netgraph/atm/uni/ng_uni.c | 3 |
1 files changed, 0 insertions, 3 deletions
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); } |