Now that if_input() set the receiving interface pointer on mbufs for us
authormpi <mpi@openbsd.org>
Mon, 13 Apr 2015 08:45:48 +0000 (08:45 +0000)
committermpi <mpi@openbsd.org>
Mon, 13 Apr 2015 08:45:48 +0000 (08:45 +0000)
commitc35f95b812dab7979e23294211d4af0f7e2ce6c6
tree5f7e499d6c144e6881e35c82d915c625fcb32854
parentd8118eef578d741101501bd8c308457b9c29650c
Now that if_input() set the receiving interface pointer on mbufs for us
there's no need to do it in m_devget(9).

Stop passing an ``ifp'' will help for upcoming interface pointer -> index
conversion.

While here remove unused ``ifp'' argument from m_clget(9) and kill two
birds^W layer violations in one commit.

ok henning@
19 files changed:
sys/arch/sparc/dev/hme.c
sys/arch/sparc64/dev/vnet.c
sys/dev/ic/dc.c
sys/dev/ic/mtd8xx.c
sys/dev/ic/rtl81x9.c
sys/dev/pci/if_ale.c
sys/dev/pci/if_bce.c
sys/dev/pci/if_cas.c
sys/dev/pci/if_lge.c
sys/dev/pci/if_nge.c
sys/dev/pci/if_sis.c
sys/dev/pci/if_vge.c
sys/dev/pci/if_vr.c
sys/dev/pci/if_wb.c
sys/dev/pcmcia/if_malo.c
sys/dev/usb/if_upgt.c
sys/kern/uipc_mbuf.c
sys/net/pfkeyv2.c
sys/sys/mbuf.h