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:
Dima Dorfman 2001-11-27 20:28:48 +00:00
parent a53dffb774
commit e8d41815df

View File

@ -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;