summaryrefslogtreecommitdiffstats
path: root/sys/net/if_ef.c
diff options
context:
space:
mode:
authorbp <bp@FreeBSD.org>2001-02-01 08:34:38 +0000
committerbp <bp@FreeBSD.org>2001-02-01 08:34:38 +0000
commitd645bfa15829e0d9b7f448bbb5e304fe532b9c42 (patch)
tree00ab5e082fbe54f8dc7ec73607e7e73eb3837c29 /sys/net/if_ef.c
parenta9f4853a90e9a3d0a29707d7da60599d5cf64468 (diff)
downloadFreeBSD-src-d645bfa15829e0d9b7f448bbb5e304fe532b9c42.zip
FreeBSD-src-d645bfa15829e0d9b7f448bbb5e304fe532b9c42.tar.gz
Fix breakage caused by incomplete transition to IF_HANDOFF().
Remove unused variable.
Diffstat (limited to 'sys/net/if_ef.c')
-rw-r--r--sys/net/if_ef.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_ef.c b/sys/net/if_ef.c
index f11fa70..d56e9c5 100644
--- a/sys/net/if_ef.c
+++ b/sys/net/if_ef.c
@@ -234,7 +234,7 @@ ef_start(struct ifnet *ifp)
break;
if (ifp->if_bpf)
bpf_mtap(ifp, m);
- if (! IF_HANDOFF(&p->if_snd, m, NULL)) {
+ if (! IF_HANDOFF(&p->if_snd, m, p)) {
ifp->if_oerrors++;
continue;
}
@@ -320,7 +320,7 @@ static int
ef_input(struct ifnet *ifp, struct ether_header *eh, struct mbuf *m)
{
u_short ether_type;
- int s, ft = -1;
+ int ft = -1;
struct ifqueue *inq;
struct efnet *efp;
struct ifnet *eifp;
OpenPOWER on IntegriCloud