From 845444c13c9722a4d97ef1cfde5c3f6fe3b80ff6 Mon Sep 17 00:00:00 2001 From: Kevin Lo Date: Tue, 19 Nov 2019 06:32:47 +0000 Subject: Don't assign ifp twice in the re_txeof(). ok deraadt@ --- sys/dev/ic/re.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys') 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; -- cgit v1.2.3