summaryrefslogtreecommitdiff
path: root/sys/dev/pv/xbf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pv/xbf.c')
-rw-r--r--sys/dev/pv/xbf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pv/xbf.c b/sys/dev/pv/xbf.c
index 9eee49e52bb..48626fddc08 100644
--- a/sys/dev/pv/xbf.c
+++ b/sys/dev/pv/xbf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: xbf.c,v 1.12 2016/12/14 11:39:30 mikeb Exp $ */
+/* $OpenBSD: xbf.c,v 1.13 2016/12/15 03:41:15 jsg Exp $ */
/*
* Copyright (c) 2016 Mike Belopuhov
@@ -335,9 +335,9 @@ xbf_io_get(void *xsc)
void
xbf_io_put(void *xsc, void *io)
{
+#ifdef DIAGNOSTIC
struct xbf_softc *sc = xsc;
-#ifdef DIAGNOSTIC
if (sc != io)
panic("xbf_io_put: unexpected io");
#endif