summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormikeb <mikeb@openbsd.org>2017-11-08 00:37:18 +0000
committermikeb <mikeb@openbsd.org>2017-11-08 00:37:18 +0000
commitc5b36bd8e8c7b781ea621d5f8129f63cdf1039e0 (patch)
treeec72f257dfafd85a0c732559559fbd35fbca4cc9
parentTest more variations of TCP packets in the scapy splicing tests. (diff)
downloadwireguard-openbsd-c5b36bd8e8c7b781ea621d5f8129f63cdf1039e0.tar.xz
wireguard-openbsd-c5b36bd8e8c7b781ea621d5f8129f63cdf1039e0.zip
Fixup what looks like a merge mistake; no functional change
-rw-r--r--sys/dev/pv/if_xnf.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/pv/if_xnf.c b/sys/dev/pv/if_xnf.c
index 2b24fe994f6..d044d596eb7 100644
--- a/sys/dev/pv/if_xnf.c
+++ b/sys/dev/pv/if_xnf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_xnf.c,v 1.60 2017/07/17 16:01:24 mikeb Exp $ */
+/* $OpenBSD: if_xnf.c,v 1.61 2017/11/08 00:37:18 mikeb Exp $ */
/*
* Copyright (c) 2015, 2016 Mike Belopuhov
@@ -1107,7 +1107,6 @@ xnf_capabilities(struct xnf_softc *sc)
{
unsigned long long res;
const char *prop;
- char val[32];
int error;
/* Query scatter-gather capability */
@@ -1153,8 +1152,6 @@ xnf_capabilities(struct xnf_softc *sc)
/* Query multiqueue capability */
prop = "multi-queue-max-queues";
- if ((error = xs_getprop(sc->sc_parent, sc->sc_backend, prop, val,
- sizeof(val))) == 0)
if ((error = xs_getnum(sc->sc_parent, sc->sc_backend, prop, &res)) != 0
&& error != ENOENT)
goto errout;