Remove debugging printfs that weren't conditional on any debugging
options in handling MOD_{UN,}LOAD (they weren't very useful, anyway).
This commit is contained in:
parent
a53dffb774
commit
e8d41815df
@ -2148,7 +2148,6 @@ ipfw_modevent(module_t mod, int type, void *unused)
|
||||
|
||||
switch (type) {
|
||||
case MOD_LOAD:
|
||||
printf("IPFW: MOD_LOAD\n");
|
||||
s = splimp();
|
||||
if (IPFW_LOADED) {
|
||||
splx(s);
|
||||
@ -2160,7 +2159,6 @@ ipfw_modevent(module_t mod, int type, void *unused)
|
||||
}
|
||||
break ;
|
||||
case MOD_UNLOAD:
|
||||
printf("IPFW: MOD_UNLOAD\n");
|
||||
#if !defined(KLD_MODULE)
|
||||
printf("ipfw statically compiled, cannot unload\n");
|
||||
err = EBUSY;
|
||||
|
Loading…
x
Reference in New Issue
Block a user