From 96b33884ee111dbe0eb13560ca86daabb27f5b57 Mon Sep 17 00:00:00 2001 From: Martin Pieuchot Date: Tue, 24 Nov 2015 15:43:16 +0000 Subject: You need if you use "struct ip" for hw checksum. You never need nor . --- sys/dev/ic/fxp.c | 3 +-- sys/dev/ic/re.c | 3 +-- sys/dev/pci/if_iwm.c | 4 +--- 3 files changed, 3 insertions(+), 7 deletions(-) (limited to 'sys') diff --git a/sys/dev/ic/fxp.c b/sys/dev/ic/fxp.c index cafd245fcb0..ddfe8bc65c7 100644 --- a/sys/dev/ic/fxp.c +++ b/sys/dev/ic/fxp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fxp.c,v 1.125 2015/11/24 13:33:17 mpi Exp $ */ +/* $OpenBSD: fxp.c,v 1.126 2015/11/24 15:43:15 mpi Exp $ */ /* $NetBSD: if_fxp.c,v 1.2 1997/06/05 02:01:55 thorpej Exp $ */ /* @@ -52,7 +52,6 @@ #include #include -#include #if NBPFILTER > 0 #include diff --git a/sys/dev/ic/re.c b/sys/dev/ic/re.c index 2f0c2ca5c98..f7de7c87b71 100644 --- a/sys/dev/ic/re.c +++ b/sys/dev/ic/re.c @@ -1,4 +1,4 @@ -/* $OpenBSD: re.c,v 1.184 2015/11/20 03:35:22 dlg Exp $ */ +/* $OpenBSD: re.c,v 1.185 2015/11/24 15:43:15 mpi Exp $ */ /* $FreeBSD: if_re.c,v 1.31 2004/09/04 07:54:05 ru Exp $ */ /* * Copyright (c) 1997, 1998-2003 @@ -129,7 +129,6 @@ #include #include -#include #include #if NBPFILTER > 0 diff --git a/sys/dev/pci/if_iwm.c b/sys/dev/pci/if_iwm.c index e0cabd02694..4329ad7889b 100644 --- a/sys/dev/pci/if_iwm.c +++ b/sys/dev/pci/if_iwm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_iwm.c,v 1.65 2015/11/24 13:45:06 mpi Exp $ */ +/* $OpenBSD: if_iwm.c,v 1.66 2015/11/24 15:43:15 mpi Exp $ */ /* * Copyright (c) 2014 genua mbh @@ -133,9 +133,7 @@ #include #include -#include #include -#include #include #include -- cgit v1.2.3