summaryrefslogtreecommitdiff
path: root/sys/dev/pv/hyperv.c
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2016-07-21 10:21:01 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2016-07-21 10:21:01 +0000
commitb118c72563853b4f5c517c308bbbbb88b69501aa (patch)
tree0571ca2b622b80573dcf8cc3ac23a0b744d9fe97 /sys/dev/pv/hyperv.c
parent86f60079e74d9af78f65306709527aed35afac1d (diff)
Remove a few debugging leftovers
Diffstat (limited to 'sys/dev/pv/hyperv.c')
-rw-r--r--sys/dev/pv/hyperv.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/pv/hyperv.c b/sys/dev/pv/hyperv.c
index d99d9f8f29d..94d21473a69 100644
--- a/sys/dev/pv/hyperv.c
+++ b/sys/dev/pv/hyperv.c
@@ -1899,15 +1899,8 @@ hv_attach_devices(struct hv_softc *sc)
TAILQ_FOREACH(ch, &sc->sc_channels, ch_entry) {
if (ch->ch_state != HV_CHANSTATE_OFFERED)
continue;
-#if 0
- if (strcmp(ch->ch_ident, "network") != 0 &&
- strcmp(ch->ch_ident, "scsi") != 0 &&
- strcmp(ch->ch_ident, "ide") != 0)
- continue;
-#else
if (!(ch->ch_flags & CHF_MONITOR))
continue;
-#endif
dv = malloc(sizeof(*dv), M_DEVBUF, M_ZERO | M_NOWAIT);
if (dv == NULL) {
printf("%s: failed to allocate device object\n",