diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-06-30 19:24:00 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-06-30 19:24:00 +0000 |
commit | 8d14703bd5414281e04301d2961bbb8b45280f37 (patch) | |
tree | d236772253e9f8a70cfea22faeddcbbe84da0ea8 /sys/scsi/scsiconf.c | |
parent | 04370749174e4a61979c8a8ff1d6e1e04da02c8d (diff) |
for scsibus, silence the activate function when unknown events are given.
they are supposed to do, or be silent.
ok mlarkin
Diffstat (limited to 'sys/scsi/scsiconf.c')
-rw-r--r-- | sys/scsi/scsiconf.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/scsi/scsiconf.c b/sys/scsi/scsiconf.c index a2e742927b7..740f4f1e61e 100644 --- a/sys/scsi/scsiconf.c +++ b/sys/scsi/scsiconf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: scsiconf.c,v 1.158 2010/06/30 19:06:29 kettenis Exp $ */ +/* $OpenBSD: scsiconf.c,v 1.159 2010/06/30 19:23:59 deraadt Exp $ */ /* $NetBSD: scsiconf.c,v 1.57 1996/05/02 01:09:01 neil Exp $ */ /* @@ -279,9 +279,6 @@ scsi_activate_lun(struct scsibus_softc *sc, int target, int lun, int act) config_suspend(dev, act); break; default: -#ifdef DIAGNOSTIC - printf("%s: unsupported act %d\n", sc->sc_dev.dv_xname, act); -#endif break; } } |