From 2360578ed8ff11310f831fcff1a8d55e1a800ea0 Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Sun, 26 May 2024 08:46:29 +0000 Subject: remove unneeded includes --- sys/dev/pcmcia/aic_pcmcia.c | 3 +-- sys/dev/pcmcia/cfxga.c | 4 +--- sys/dev/pcmcia/com_pcmcia.c | 9 +-------- sys/dev/pcmcia/if_an_pcmcia.c | 5 +---- sys/dev/pcmcia/if_ep_pcmcia.c | 15 +-------------- sys/dev/pcmcia/if_malo.c | 5 +---- sys/dev/pcmcia/if_ne_pcmcia.c | 5 +---- sys/dev/pcmcia/if_sm_pcmcia.c | 14 +------------- sys/dev/pcmcia/if_wi_pcmcia.c | 5 +---- sys/dev/pcmcia/if_xe.c | 4 +--- sys/dev/pcmcia/wdc_pcmcia.c | 13 +------------ 11 files changed, 11 insertions(+), 71 deletions(-) (limited to 'sys') diff --git a/sys/dev/pcmcia/aic_pcmcia.c b/sys/dev/pcmcia/aic_pcmcia.c index e0bd83291dc..a5b9f982d51 100644 --- a/sys/dev/pcmcia/aic_pcmcia.c +++ b/sys/dev/pcmcia/aic_pcmcia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aic_pcmcia.c,v 1.20 2023/09/11 08:41:27 mvs Exp $ */ +/* $OpenBSD: aic_pcmcia.c,v 1.21 2024/05/26 08:46:28 jsg Exp $ */ /* $NetBSD: aic_pcmcia.c,v 1.6 1998/07/19 17:28:15 christos Exp $ */ /* @@ -34,7 +34,6 @@ #include #include -#include #include #include diff --git a/sys/dev/pcmcia/cfxga.c b/sys/dev/pcmcia/cfxga.c index a07c02d484b..fb714f23027 100644 --- a/sys/dev/pcmcia/cfxga.c +++ b/sys/dev/pcmcia/cfxga.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cfxga.c,v 1.34 2024/05/26 03:28:54 jsg Exp $ */ +/* $OpenBSD: cfxga.c,v 1.35 2024/05/26 08:46:28 jsg Exp $ */ /* * Copyright (c) 2005, 2006, Matthieu Herrb and Miodrag Vallat @@ -31,11 +31,9 @@ */ #include -#include #include #include #include -#include #include #include diff --git a/sys/dev/pcmcia/com_pcmcia.c b/sys/dev/pcmcia/com_pcmcia.c index dd0c493f0f1..6157c256e4c 100644 --- a/sys/dev/pcmcia/com_pcmcia.c +++ b/sys/dev/pcmcia/com_pcmcia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: com_pcmcia.c,v 1.61 2024/05/13 01:15:51 jsg Exp $ */ +/* $OpenBSD: com_pcmcia.c,v 1.62 2024/05/26 08:46:28 jsg Exp $ */ /* $NetBSD: com_pcmcia.c,v 1.15 1998/08/22 17:47:58 msaitoh Exp $ */ /* @@ -90,12 +90,7 @@ #include #include -#include #include -#include -#include -#include -#include #include #include @@ -104,8 +99,6 @@ #include #include -#include "com.h" - #include #include #include diff --git a/sys/dev/pcmcia/if_an_pcmcia.c b/sys/dev/pcmcia/if_an_pcmcia.c index 17dbb537c65..5e4073be57d 100644 --- a/sys/dev/pcmcia/if_an_pcmcia.c +++ b/sys/dev/pcmcia/if_an_pcmcia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_an_pcmcia.c,v 1.27 2022/04/06 18:59:30 naddy Exp $ */ +/* $OpenBSD: if_an_pcmcia.c,v 1.28 2024/05/26 08:46:28 jsg Exp $ */ /* * Copyright (c) 1999 Michael Shalayeff @@ -29,9 +29,6 @@ #include #include #include -#include -#include -#include #include #include diff --git a/sys/dev/pcmcia/if_ep_pcmcia.c b/sys/dev/pcmcia/if_ep_pcmcia.c index b4edd3f136b..fb760a7f9e3 100644 --- a/sys/dev/pcmcia/if_ep_pcmcia.c +++ b/sys/dev/pcmcia/if_ep_pcmcia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ep_pcmcia.c,v 1.51 2023/09/11 08:41:27 mvs Exp $ */ +/* $OpenBSD: if_ep_pcmcia.c,v 1.52 2024/05/26 08:46:28 jsg Exp $ */ /* $NetBSD: if_ep_pcmcia.c,v 1.16 1998/08/17 23:20:40 thorpej Exp $ */ /*- @@ -60,15 +60,8 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#include "bpfilter.h" - #include #include -#include -#include -#include -#include -#include #include #include @@ -78,14 +71,8 @@ #include #include -#if NBPFILTER > 0 -#include -#endif - -#include #include -#include #include #include diff --git a/sys/dev/pcmcia/if_malo.c b/sys/dev/pcmcia/if_malo.c index 76ec8dd53ef..faa878b3b60 100644 --- a/sys/dev/pcmcia/if_malo.c +++ b/sys/dev/pcmcia/if_malo.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_malo.c,v 1.99 2022/04/06 18:59:30 naddy Exp $ */ +/* $OpenBSD: if_malo.c,v 1.100 2024/05/26 08:46:28 jsg Exp $ */ /* * Copyright (c) 2007 Marcus Glocker @@ -20,11 +20,8 @@ #include #include -#include #include #include -#include -#include #include #include #include diff --git a/sys/dev/pcmcia/if_ne_pcmcia.c b/sys/dev/pcmcia/if_ne_pcmcia.c index 130ef733f10..d037f03b76f 100644 --- a/sys/dev/pcmcia/if_ne_pcmcia.c +++ b/sys/dev/pcmcia/if_ne_pcmcia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ne_pcmcia.c,v 1.102 2023/09/11 08:41:27 mvs Exp $ */ +/* $OpenBSD: if_ne_pcmcia.c,v 1.103 2024/05/26 08:46:28 jsg Exp $ */ /* $NetBSD: if_ne_pcmcia.c,v 1.17 1998/08/15 19:00:04 thorpej Exp $ */ /* @@ -33,7 +33,6 @@ #include #include #include -#include #include #include @@ -42,12 +41,10 @@ #include -#include #include #include #include -#include #include #include diff --git a/sys/dev/pcmcia/if_sm_pcmcia.c b/sys/dev/pcmcia/if_sm_pcmcia.c index 905a4d5b837..f335b1a39cc 100644 --- a/sys/dev/pcmcia/if_sm_pcmcia.c +++ b/sys/dev/pcmcia/if_sm_pcmcia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_sm_pcmcia.c,v 1.40 2023/09/11 08:41:27 mvs Exp $ */ +/* $OpenBSD: if_sm_pcmcia.c,v 1.41 2024/05/26 08:46:28 jsg Exp $ */ /* $NetBSD: if_sm_pcmcia.c,v 1.11 1998/08/15 20:47:32 thorpej Exp $ */ /*- @@ -31,15 +31,8 @@ * POSSIBILITY OF SUCH DAMAGE. */ -#include "bpfilter.h" - #include #include -#include -#include -#include -#include -#include #include #include @@ -49,14 +42,9 @@ #include #include -#if NBPFILTER > 0 -#include -#endif - #include #include -#include #include #include diff --git a/sys/dev/pcmcia/if_wi_pcmcia.c b/sys/dev/pcmcia/if_wi_pcmcia.c index ac83d2d9a21..8ebebd02794 100644 --- a/sys/dev/pcmcia/if_wi_pcmcia.c +++ b/sys/dev/pcmcia/if_wi_pcmcia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wi_pcmcia.c,v 1.76 2022/04/06 18:59:30 naddy Exp $ */ +/* $OpenBSD: if_wi_pcmcia.c,v 1.77 2024/05/26 08:46:28 jsg Exp $ */ /* $NetBSD: if_wi_pcmcia.c,v 1.14 2001/11/26 04:34:56 ichiro Exp $ */ /* @@ -46,9 +46,7 @@ #include #include #include -#include #include -#include #include #include @@ -61,7 +59,6 @@ #include -#include #include #include diff --git a/sys/dev/pcmcia/if_xe.c b/sys/dev/pcmcia/if_xe.c index afc2b2d301e..29db8d27f6b 100644 --- a/sys/dev/pcmcia/if_xe.c +++ b/sys/dev/pcmcia/if_xe.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xe.c,v 1.63 2023/05/30 08:30:01 jsg Exp $ */ +/* $OpenBSD: if_xe.c,v 1.64 2024/05/26 08:46:28 jsg Exp $ */ /* * Copyright (c) 1999 Niklas Hallqvist, Brandon Creighton, Job de Haas @@ -52,8 +52,6 @@ #include #include #include -#include -#include #include #include diff --git a/sys/dev/pcmcia/wdc_pcmcia.c b/sys/dev/pcmcia/wdc_pcmcia.c index d66fddd9343..c16ec9f490f 100644 --- a/sys/dev/pcmcia/wdc_pcmcia.c +++ b/sys/dev/pcmcia/wdc_pcmcia.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wdc_pcmcia.c,v 1.34 2022/04/06 18:59:30 naddy Exp $ */ +/* $OpenBSD: wdc_pcmcia.c,v 1.35 2024/05/26 08:46:28 jsg Exp $ */ /* $NetBSD: wdc_pcmcia.c,v 1.19 1999/02/19 21:49:43 abs Exp $ */ /*- @@ -32,19 +32,8 @@ #include #include -#include -#include -#include -#include -#include -#include -#include #include -#include -#include -#include -#include #include #include -- cgit v1.2.3