summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmatthew <jmatthew@openbsd.org>2014-10-10 09:50:32 +0000
committerjmatthew <jmatthew@openbsd.org>2014-10-10 09:50:32 +0000
commit8cf76a44cbea6284985d9d7d9cd24130b9376d67 (patch)
treee3745ba1cf6b17cde83a2a074e58226552662e9f
parentZap some stored values never read; From Fritjof Bornebusch; ok nicm@ (diff)
downloadwireguard-openbsd-8cf76a44cbea6284985d9d7d9cd24130b9376d67.tar.xz
wireguard-openbsd-8cf76a44cbea6284985d9d7d9cd24130b9376d67.zip
fix compilation without DIAGNOSTIC
ok dlg@
-rw-r--r--sys/dev/vscsi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vscsi.c b/sys/dev/vscsi.c
index b7003c41942..d98615abcda 100644
--- a/sys/dev/vscsi.c
+++ b/sys/dev/vscsi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vscsi.c,v 1.32 2014/09/22 01:09:29 dlg Exp $ */
+/* $OpenBSD: vscsi.c,v 1.33 2014/10/10 09:50:32 jmatthew Exp $ */
/*
* Copyright (c) 2008 David Gwynne <dlg@openbsd.org>
@@ -523,8 +523,8 @@ vscsi_devevent_task(void *xsc, void *xdt)
default:
panic("unexpected vscsi_devevent cmd");
/* NOTREACHED */
- }
#endif
+ }
gone:
device_unref(&sc->sc_dev);