diff options
author | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-05-21 09:36:21 +0000 |
---|---|---|
committer | Martin Pieuchot <mpi@cvs.openbsd.org> | 2015-05-21 09:36:21 +0000 |
commit | 4e92733afb9ecfc01756fa55d10e648571ee6922 (patch) | |
tree | 52a8a8591a91c20d53c6ce7771929949998f1733 /sys | |
parent | 48aa7118af7984ecff498458c709248bb019bb25 (diff) |
No need to set "rcvif", if_input() does it for you.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/dp8390.c | 3 | ||||
-rw-r--r-- | sys/dev/ic/pgt.c | 3 | ||||
-rw-r--r-- | sys/dev/pcmcia/if_cnw.c | 3 |
3 files changed, 3 insertions, 6 deletions
diff --git a/sys/dev/ic/dp8390.c b/sys/dev/ic/dp8390.c index 353f1ed3ef8..e99a1d3cd1b 100644 --- a/sys/dev/ic/dp8390.c +++ b/sys/dev/ic/dp8390.c @@ -1,4 +1,4 @@ -/* $OpenBSD: dp8390.c,v 1.52 2015/05/13 10:42:46 jsg Exp $ */ +/* $OpenBSD: dp8390.c,v 1.53 2015/05/21 09:36:20 mpi Exp $ */ /* $NetBSD: dp8390.c,v 1.13 1998/07/05 06:49:11 jonathan Exp $ */ /* @@ -934,7 +934,6 @@ dp8390_get(struct dp8390_softc *sc, int src, u_short total_len) MGETHDR(m0, M_DONTWAIT, MT_DATA); if (m0 == NULL) return (0); - m0->m_pkthdr.rcvif = ifp; m0->m_pkthdr.len = total_len; len = MHLEN; m = m0; diff --git a/sys/dev/ic/pgt.c b/sys/dev/ic/pgt.c index d0686226d62..c4608587705 100644 --- a/sys/dev/ic/pgt.c +++ b/sys/dev/ic/pgt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pgt.c,v 1.77 2014/12/22 02:28:51 tedu Exp $ */ +/* $OpenBSD: pgt.c,v 1.78 2015/05/21 09:36:20 mpi Exp $ */ /* * Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org> @@ -1531,7 +1531,6 @@ pgt_datarx_completion(struct pgt_softc *sc, enum pgt_queue pq) if (top) { top->m_pkthdr.len = tlen; - top->m_pkthdr.rcvif = ifp; } return (top); diff --git a/sys/dev/pcmcia/if_cnw.c b/sys/dev/pcmcia/if_cnw.c index 1c710c2c530..d544b08b9ef 100644 --- a/sys/dev/pcmcia/if_cnw.c +++ b/sys/dev/pcmcia/if_cnw.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cnw.c,v 1.29 2015/05/19 11:24:01 mpi Exp $ */ +/* $OpenBSD: if_cnw.c,v 1.30 2015/05/21 09:36:20 mpi Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. * All rights reserved. @@ -559,7 +559,6 @@ cnw_read(sc) MGETHDR(m, M_DONTWAIT, MT_DATA); if (m == NULL) return (0); - m->m_pkthdr.rcvif = &sc->sc_arpcom.ac_if; m->m_pkthdr.len = totbytes; mbytes = MHLEN; top = 0; |