summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkevlo <kevlo@openbsd.org>2019-11-19 06:32:46 +0000
committerkevlo <kevlo@openbsd.org>2019-11-19 06:32:46 +0000
commitedb49af2f15d19e9e71f0ef66a4e5fdec4f66b89 (patch)
treeca9a0d0dfb3da47a359500b97e0194ff2668dfef
parentUpdate, max /usr has grown (diff)
downloadwireguard-openbsd-edb49af2f15d19e9e71f0ef66a4e5fdec4f66b89.tar.xz
wireguard-openbsd-edb49af2f15d19e9e71f0ef66a4e5fdec4f66b89.zip
Don't assign ifp twice in the re_txeof().
ok deraadt@
-rw-r--r--sys/dev/ic/re.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c
index 09ba01c55da..ae9494d56c2 100644
--- a/sys/dev/ic/re.c
+++ b/sys/dev/ic/re.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: re.c,v 1.202 2017/06/19 09:36:27 mpi Exp $ */
+/* $OpenBSD: re.c,v 1.203 2019/11/19 06:32:46 kevlo Exp $ */
/* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */
/*
* Copyright (c) 1997, 1998-2003
@@ -1416,8 +1416,6 @@ re_txeof(struct rl_softc *sc)
unsigned int idx;
int free = 0;
- ifp = &sc->sc_arpcom.ac_if;
-
prod = sc->rl_ldata.rl_txq_prodidx;
cons = sc->rl_ldata.rl_txq_considx;