diff options
| author | 2016-07-21 10:21:00 +0000 | |
|---|---|---|
| committer | 2016-07-21 10:21:00 +0000 | |
| commit | e76ab520423b9fa2af952a66f839ecd5a331cfa9 (patch) | |
| tree | 5db2f1a7797a94b7227eb835d4efa5f0a149f341 /sys/dev/pv/hyperv.c | |
| parent | Remove a fatal() in peer_up when the local addrs of a peer can't be figured out. (diff) | |
| download | wireguard-openbsd-e76ab520423b9fa2af952a66f839ecd5a331cfa9.tar.xz wireguard-openbsd-e76ab520423b9fa2af952a66f839ecd5a331cfa9.zip | |
Remove a few debugging leftovers
Diffstat (limited to 'sys/dev/pv/hyperv.c')
| -rw-r--r-- | sys/dev/pv/hyperv.c | 7 |
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", |
