From 7c403e2a069557e11eff809df4bef961e13e173b Mon Sep 17 00:00:00 2001 From: Martin Pieuchot Date: Tue, 10 Feb 2015 23:25:47 +0000 Subject: Wireless drivers call if_input() via ieee80211_input() which set `rcvif' on every received mbuf, so there's no need to initialize this pointer in the drivers. Tested by and ok phessler@ --- sys/dev/ic/rt2560.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'sys/dev/ic/rt2560.c') diff --git a/sys/dev/ic/rt2560.c b/sys/dev/ic/rt2560.c index 431a9db86d2..206a0ec95b3 100644 --- a/sys/dev/ic/rt2560.c +++ b/sys/dev/ic/rt2560.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2560.c,v 1.69 2014/12/22 02:28:51 tedu Exp $ */ +/* $OpenBSD: rt2560.c,v 1.70 2015/02/10 23:25:46 mpi Exp $ */ /*- * Copyright (c) 2005, 2006 @@ -1165,7 +1165,6 @@ rt2560_decryption_intr(struct rt2560_softc *sc) desc->physaddr = htole32(data->map->dm_segs->ds_addr); /* finalize mbuf */ - m->m_pkthdr.rcvif = ifp; m->m_pkthdr.len = m->m_len = (letoh32(desc->flags) >> 16) & 0xfff; -- cgit v1.2.3