Remove unnecssary #include

This commit is contained in:
skrll 2023-12-20 18:09:18 +00:00
parent 61cd9aae6e
commit 5caf51cf3a
7 changed files with 12 additions and 24 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_hvn.c,v 1.25 2023/12/08 21:46:02 andvar Exp $ */ /* $NetBSD: if_hvn.c,v 1.26 2023/12/20 18:09:18 skrll Exp $ */
/* $OpenBSD: if_hvn.c,v 1.39 2018/03/11 14:31:34 mikeb Exp $ */ /* $OpenBSD: if_hvn.c,v 1.39 2018/03/11 14:31:34 mikeb Exp $ */
/*- /*-
@ -35,13 +35,12 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_hvn.c,v 1.25 2023/12/08 21:46:02 andvar Exp $"); __KERNEL_RCSID(0, "$NetBSD: if_hvn.c,v 1.26 2023/12/20 18:09:18 skrll Exp $");
#ifdef _KERNEL_OPT #ifdef _KERNEL_OPT
#include "opt_if_hvn.h" #include "opt_if_hvn.h"
#include "opt_inet.h" #include "opt_inet.h"
#include "opt_inet6.h" #include "opt_inet6.h"
#include "opt_net_mpsafe.h"
#endif #endif
#include <sys/param.h> #include <sys/param.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: dwc_gmac.c,v 1.79 2023/08/01 07:04:15 mrg Exp $ */ /* $NetBSD: dwc_gmac.c,v 1.80 2023/12/20 18:09:19 skrll Exp $ */
/*- /*-
* Copyright (c) 2013, 2014 The NetBSD Foundation, Inc. * Copyright (c) 2013, 2014 The NetBSD Foundation, Inc.
@ -41,13 +41,12 @@
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.79 2023/08/01 07:04:15 mrg Exp $"); __KERNEL_RCSID(1, "$NetBSD: dwc_gmac.c,v 1.80 2023/12/20 18:09:19 skrll Exp $");
/* #define DWC_GMAC_DEBUG 1 */ /* #define DWC_GMAC_DEBUG 1 */
#ifdef _KERNEL_OPT #ifdef _KERNEL_OPT
#include "opt_inet.h" #include "opt_inet.h"
#include "opt_net_mpsafe.h"
#endif #endif
#include <sys/param.h> #include <sys/param.h>

View File

@ -28,15 +28,11 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
#endif
#include <sys/cdefs.h> #include <sys/cdefs.h>
#if 0 #if 0
__FBSDID("$FreeBSD: head/sys/dev/ena/ena.c 333456 2018-05-10 09:37:54Z mw $"); __FBSDID("$FreeBSD: head/sys/dev/ena/ena.c 333456 2018-05-10 09:37:54Z mw $");
#endif #endif
__KERNEL_RCSID(0, "$NetBSD: if_ena.c,v 1.40 2023/11/05 18:26:11 jdolecek Exp $"); __KERNEL_RCSID(0, "$NetBSD: if_ena.c,v 1.41 2023/12/20 18:09:19 skrll Exp $");
#include <sys/param.h> #include <sys/param.h>
#include <sys/systm.h> #include <sys/systm.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_ixl.c,v 1.95 2023/10/13 04:43:35 yamaguchi Exp $ */ /* $NetBSD: if_ixl.c,v 1.96 2023/12/20 18:09:19 skrll Exp $ */
/* /*
* Copyright (c) 2013-2015, Intel Corporation * Copyright (c) 2013-2015, Intel Corporation
@ -74,10 +74,9 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_ixl.c,v 1.95 2023/10/13 04:43:35 yamaguchi Exp $"); __KERNEL_RCSID(0, "$NetBSD: if_ixl.c,v 1.96 2023/12/20 18:09:19 skrll Exp $");
#ifdef _KERNEL_OPT #ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
#include "opt_if_ixl.h" #include "opt_if_ixl.h"
#endif #endif

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_igc.c,v 1.8 2023/11/02 09:29:30 rin Exp $ */ /* $NetBSD: if_igc.c,v 1.9 2023/12/20 18:09:19 skrll Exp $ */
/* $OpenBSD: if_igc.c,v 1.13 2023/04/28 10:18:57 bluhm Exp $ */ /* $OpenBSD: if_igc.c,v 1.13 2023/04/28 10:18:57 bluhm Exp $ */
/*- /*-
* SPDX-License-Identifier: BSD-2-Clause * SPDX-License-Identifier: BSD-2-Clause
@ -30,10 +30,9 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_igc.c,v 1.8 2023/11/02 09:29:30 rin Exp $"); __KERNEL_RCSID(0, "$NetBSD: if_igc.c,v 1.9 2023/12/20 18:09:19 skrll Exp $");
#ifdef _KERNEL_OPT #ifdef _KERNEL_OPT
#include "opt_net_mpsafe.h"
#include "opt_if_igc.h" #include "opt_if_igc.h"
#if 0 /* notyet */ #if 0 /* notyet */
#include "vlan.h" #include "vlan.h"

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_dse.c,v 1.3 2022/12/22 23:06:11 nat Exp $ */ /* $NetBSD: if_dse.c,v 1.4 2023/12/20 18:09:19 skrll Exp $ */
/* /*
* Driver for DaynaPORT SCSI/Link SCSI-Ethernet * Driver for DaynaPORT SCSI/Link SCSI-Ethernet
@ -40,10 +40,7 @@
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/ */
#include "opt_inet.h" #include "opt_inet.h"
#include "opt_net_mpsafe.h"
#include "opt_atalk.h" #include "opt_atalk.h"
#include <sys/types.h> #include <sys/types.h>

View File

@ -1,4 +1,4 @@
/* $NetBSD: if_se.c,v 1.118 2022/08/29 07:32:46 skrll Exp $ */ /* $NetBSD: if_se.c,v 1.119 2023/12/20 18:09:19 skrll Exp $ */
/* /*
* Copyright (c) 1997 Ian W. Dall <ian.dall@dsto.defence.gov.au> * Copyright (c) 1997 Ian W. Dall <ian.dall@dsto.defence.gov.au>
@ -59,11 +59,10 @@
*/ */
#include <sys/cdefs.h> #include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: if_se.c,v 1.118 2022/08/29 07:32:46 skrll Exp $"); __KERNEL_RCSID(0, "$NetBSD: if_se.c,v 1.119 2023/12/20 18:09:19 skrll Exp $");
#ifdef _KERNEL_OPT #ifdef _KERNEL_OPT
#include "opt_inet.h" #include "opt_inet.h"
#include "opt_net_mpsafe.h"
#include "opt_atalk.h" #include "opt_atalk.h"
#endif #endif