summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2013-08-25 09:41:37 +0000
committerandre <andre@FreeBSD.org>2013-08-25 09:41:37 +0000
commit11493fb48fb2b5c08fd2cc2209a8136d059f41e5 (patch)
tree8bdfe9e1bcc781eab9755cb3d5e4d159d52406c1 /sys/net
parent46cd7f807a96a059ad1e856e796c171238dbbebd (diff)
downloadFreeBSD-src-11493fb48fb2b5c08fd2cc2209a8136d059f41e5.zip
FreeBSD-src-11493fb48fb2b5c08fd2cc2209a8136d059f41e5.tar.gz
Remove unnecessary setup of the m->pkthdr.header pointer.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_fddisubr.c1
-rw-r--r--sys/net/if_iso88025subr.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/net/if_fddisubr.c b/sys/net/if_fddisubr.c
index 5e7dbe6..4f54dcb 100644
--- a/sys/net/if_fddisubr.c
+++ b/sys/net/if_fddisubr.c
@@ -390,7 +390,6 @@ fddi_input(ifp, m)
goto dropanyway;
}
fh = mtod(m, struct fddi_header *);
- m->m_pkthdr.header = (void *)fh;
/*
* Discard packet if interface is not up.
diff --git a/sys/net/if_iso88025subr.c b/sys/net/if_iso88025subr.c
index 63b2107..5975b28 100644
--- a/sys/net/if_iso88025subr.c
+++ b/sys/net/if_iso88025subr.c
@@ -476,7 +476,6 @@ iso88025_input(ifp, m)
goto dropanyway;
}
th = mtod(m, struct iso88025_header *);
- m->m_pkthdr.header = (void *)th;
/*
* Discard packet if interface is not up.
OpenPOWER on IntegriCloud