From 38ec96db8188e1651917ab32ae45683690bff9a9 Mon Sep 17 00:00:00 2001 From: jan Date: Fri, 12 Apr 2024 19:27:43 +0000 Subject: [PATCH] remove useless includes of ip.h and ip6.h ok bluhm --- sys/dev/pci/if_bnxt.c | 4 +--- sys/dev/pci/if_igc.c | 4 +--- sys/dev/pci/if_ixl.c | 6 ++---- sys/dev/pci/if_ngbe.c | 4 +--- sys/dev/pci/ixgbe.h | 4 +--- 5 files changed, 6 insertions(+), 16 deletions(-) diff --git a/sys/dev/pci/if_bnxt.c b/sys/dev/pci/if_bnxt.c index f067857e3ec..c973a624bc6 100644 --- a/sys/dev/pci/if_bnxt.c +++ b/sys/dev/pci/if_bnxt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bnxt.c,v 1.47 2024/02/14 22:41:48 bluhm Exp $ */ +/* $OpenBSD: if_bnxt.c,v 1.48 2024/04/12 19:27:43 jan Exp $ */ /*- * Broadcom NetXtreme-C/E network driver. * @@ -76,8 +76,6 @@ #endif #include -#include -#include #include #include #include diff --git a/sys/dev/pci/if_igc.c b/sys/dev/pci/if_igc.c index 827242190cc..24cbccd0b91 100644 --- a/sys/dev/pci/if_igc.c +++ b/sys/dev/pci/if_igc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_igc.c,v 1.19 2024/03/25 20:25:13 mbuhl Exp $ */ +/* $OpenBSD: if_igc.c,v 1.20 2024/04/12 19:27:43 jan Exp $ */ /*- * SPDX-License-Identifier: BSD-2-Clause * @@ -48,8 +48,6 @@ #include #include -#include -#include #if NBPFILTER > 0 #include diff --git a/sys/dev/pci/if_ixl.c b/sys/dev/pci/if_ixl.c index 3667c6bff9b..b5b1777cbb7 100644 --- a/sys/dev/pci/if_ixl.c +++ b/sys/dev/pci/if_ixl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ixl.c,v 1.97 2024/02/14 22:41:48 bluhm Exp $ */ +/* $OpenBSD: if_ixl.c,v 1.98 2024/04/12 19:27:43 jan Exp $ */ /* * Copyright (c) 2013-2015, Intel Corporation @@ -83,13 +83,11 @@ #endif #include -#include -#include +#include #include #include #include #include -#include #include #include diff --git a/sys/dev/pci/if_ngbe.c b/sys/dev/pci/if_ngbe.c index 1cec2c33f3d..ce3503643a5 100644 --- a/sys/dev/pci/if_ngbe.c +++ b/sys/dev/pci/if_ngbe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ngbe.c,v 1.2 2023/11/10 15:51:20 bluhm Exp $ */ +/* $OpenBSD: if_ngbe.c,v 1.3 2024/04/12 19:27:43 jan Exp $ */ /* * Copyright (c) 2015-2017 Beijing WangXun Technology Co., Ltd. @@ -37,8 +37,6 @@ #include #include -#include -#include #if NBPFILTER > 0 #include diff --git a/sys/dev/pci/ixgbe.h b/sys/dev/pci/ixgbe.h index 5fbfba93d50..2851b2858b6 100644 --- a/sys/dev/pci/ixgbe.h +++ b/sys/dev/pci/ixgbe.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ixgbe.h,v 1.34 2023/05/18 08:22:37 jan Exp $ */ +/* $OpenBSD: ixgbe.h,v 1.35 2024/04/12 19:27:43 jan Exp $ */ /****************************************************************************** @@ -65,8 +65,6 @@ #include #include -#include -#include #include #include #include -- 2.20.1