diff options
author | Kevin Lo <kevlo@cvs.openbsd.org> | 2019-11-19 06:32:47 +0000 |
---|---|---|
committer | Kevin Lo <kevlo@cvs.openbsd.org> | 2019-11-19 06:32:47 +0000 |
commit | 845444c13c9722a4d97ef1cfde5c3f6fe3b80ff6 (patch) | |
tree | 8f81f2dee082ca57ec5097b5e0102f1c31687512 /sys/dev/ic | |
parent | 0bf75800b7f3554717a548a128b5d4829c13fdce (diff) |
Don't assign ifp twice in the re_txeof().
ok deraadt@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/re.c | 4 |
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; |