From c7101648ccc694093c4a805ebde0f53056d1a24c Mon Sep 17 00:00:00 2001 From: jsg Date: Fri, 24 May 2024 06:26:47 +0000 Subject: [PATCH] remove unneeded includes --- sys/dev/cardbus/cardbus.c | 3 +-- sys/dev/cardbus/cardslot.c | 5 +---- sys/dev/cardbus/com_cardbus.c | 4 +--- sys/dev/cardbus/ehci_cardbus.c | 4 +--- sys/dev/cardbus/if_acx_cardbus.c | 8 +------- sys/dev/cardbus/if_ath_cardbus.c | 11 +---------- sys/dev/cardbus/if_athn_cardbus.c | 7 +------ sys/dev/cardbus/if_atw_cardbus.c | 15 +-------------- sys/dev/cardbus/if_bwi_cardbus.c | 4 +--- sys/dev/cardbus/if_dc_cardbus.c | 8 +------- sys/dev/cardbus/if_fxp_cardbus.c | 12 +----------- sys/dev/cardbus/if_malo_cardbus.c | 4 +--- sys/dev/cardbus/if_pgt_cardbus.c | 7 +------ sys/dev/cardbus/if_ral_cardbus.c | 7 +------ sys/dev/cardbus/if_re_cardbus.c | 7 +------ sys/dev/cardbus/if_rl_cardbus.c | 14 +------------- sys/dev/cardbus/if_rtw_cardbus.c | 13 +------------ sys/dev/cardbus/if_xl_cardbus.c | 10 +--------- sys/dev/cardbus/ohci_cardbus.c | 4 +--- sys/dev/cardbus/puc_cardbus.c | 6 +----- sys/dev/cardbus/uhci_cardbus.c | 4 +--- 21 files changed, 21 insertions(+), 136 deletions(-) diff --git a/sys/dev/cardbus/cardbus.c b/sys/dev/cardbus/cardbus.c index 98a2840fd94..09cda7fe782 100644 --- a/sys/dev/cardbus/cardbus.c +++ b/sys/dev/cardbus/cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cardbus.c,v 1.53 2022/04/06 18:59:27 naddy Exp $ */ +/* $OpenBSD: cardbus.c,v 1.54 2024/05/24 06:26:47 jsg Exp $ */ /* $NetBSD: cardbus.c,v 1.24 2000/04/02 19:11:37 mycroft Exp $ */ /* @@ -32,7 +32,6 @@ #include #include #include -#include #include diff --git a/sys/dev/cardbus/cardslot.c b/sys/dev/cardbus/cardslot.c index 09bb1d0aef9..e9c6d0a9eca 100644 --- a/sys/dev/cardbus/cardslot.c +++ b/sys/dev/cardbus/cardslot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cardslot.c,v 1.23 2022/04/06 18:59:27 naddy Exp $ */ +/* $OpenBSD: cardslot.c,v 1.24 2024/05/24 06:26:47 jsg Exp $ */ /* $NetBSD: cardslot.c,v 1.9 2000/03/22 09:35:06 haya Exp $ */ /* @@ -31,9 +31,6 @@ #include #include #include -#include -#include -#include #include #include diff --git a/sys/dev/cardbus/com_cardbus.c b/sys/dev/cardbus/com_cardbus.c index c286a3c7940..b3346d25738 100644 --- a/sys/dev/cardbus/com_cardbus.c +++ b/sys/dev/cardbus/com_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: com_cardbus.c,v 1.44 2022/04/06 18:59:27 naddy Exp $ */ +/* $OpenBSD: com_cardbus.c,v 1.45 2024/05/24 06:26:47 jsg Exp $ */ /* $NetBSD: com_cardbus.c,v 1.4 2000/04/17 09:21:59 joda Exp $ */ /* @@ -56,8 +56,6 @@ #include -#include "com.h" - #include #include #include diff --git a/sys/dev/cardbus/ehci_cardbus.c b/sys/dev/cardbus/ehci_cardbus.c index 59332abd79c..37f25d36e04 100644 --- a/sys/dev/cardbus/ehci_cardbus.c +++ b/sys/dev/cardbus/ehci_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ehci_cardbus.c,v 1.23 2022/04/06 18:59:27 naddy Exp $ */ +/* $OpenBSD: ehci_cardbus.c,v 1.24 2024/05/24 06:26:47 jsg Exp $ */ /* $NetBSD: ehci_cardbus.c,v 1.6.6.3 2004/09/21 13:27:25 skrll Exp $ */ /* @@ -33,7 +33,6 @@ #include #include -#include #include #include @@ -44,7 +43,6 @@ #include #include #include -#include #include #include diff --git a/sys/dev/cardbus/if_acx_cardbus.c b/sys/dev/cardbus/if_acx_cardbus.c index 7c53a8c49ac..003f6958f16 100644 --- a/sys/dev/cardbus/if_acx_cardbus.c +++ b/sys/dev/cardbus/if_acx_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_acx_cardbus.c,v 1.23 2022/04/06 18:59:28 naddy Exp $ */ +/* $OpenBSD: if_acx_cardbus.c,v 1.24 2024/05/24 06:26:47 jsg Exp $ */ /* * Copyright (c) 2006 Claudio Jeker @@ -25,17 +25,11 @@ #include "bpfilter.h" #include -#include -#include -#include -#include #include -#include #include #include #include -#include #include #include diff --git a/sys/dev/cardbus/if_ath_cardbus.c b/sys/dev/cardbus/if_ath_cardbus.c index 917a4bf8b8e..5ec5dee97b6 100644 --- a/sys/dev/cardbus/if_ath_cardbus.c +++ b/sys/dev/cardbus/if_ath_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ath_cardbus.c,v 1.21 2023/01/04 07:06:08 jsg Exp $ */ +/* $OpenBSD: if_ath_cardbus.c,v 1.22 2024/05/24 06:26:47 jsg Exp $ */ /* $NetBSD: if_ath_cardbus.c,v 1.4 2004/08/02 19:14:28 mycroft Exp $ */ /* @@ -34,15 +34,8 @@ #include #include -#include -#include -#include -#include -#include -#include #include #include -#include #include #include @@ -54,13 +47,11 @@ #include #include -#include #include #include #include -#include #include diff --git a/sys/dev/cardbus/if_athn_cardbus.c b/sys/dev/cardbus/if_athn_cardbus.c index 0f1a767605d..3d89b0b2de7 100644 --- a/sys/dev/cardbus/if_athn_cardbus.c +++ b/sys/dev/cardbus/if_athn_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_athn_cardbus.c,v 1.18 2022/07/24 17:22:12 kn Exp $ */ +/* $OpenBSD: if_athn_cardbus.c,v 1.19 2024/05/24 06:26:47 jsg Exp $ */ /*- * Copyright (c) 2009 Damien Bergamini @@ -23,12 +23,7 @@ #include "bpfilter.h" #include -#include -#include -#include -#include #include -#include #include #include diff --git a/sys/dev/cardbus/if_atw_cardbus.c b/sys/dev/cardbus/if_atw_cardbus.c index 1c3245a652e..3f788bee5c0 100644 --- a/sys/dev/cardbus/if_atw_cardbus.c +++ b/sys/dev/cardbus/if_atw_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_atw_cardbus.c,v 1.25 2022/04/06 18:59:28 naddy Exp $ */ +/* $OpenBSD: if_atw_cardbus.c,v 1.26 2024/05/24 06:26:47 jsg Exp $ */ /* $NetBSD: if_atw_cardbus.c,v 1.9 2004/07/23 07:07:55 dyoung Exp $ */ /*- @@ -40,14 +40,7 @@ #include #include -#include -#include -#include -#include -#include -#include #include -#include #include #include @@ -58,15 +51,9 @@ #include #include -#if NBPFILTER > 0 -#include -#endif - #include -#include #include -#include #include #include diff --git a/sys/dev/cardbus/if_bwi_cardbus.c b/sys/dev/cardbus/if_bwi_cardbus.c index 9e2e8970382..62ff8fdb976 100644 --- a/sys/dev/cardbus/if_bwi_cardbus.c +++ b/sys/dev/cardbus/if_bwi_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_bwi_cardbus.c,v 1.16 2022/04/06 18:59:28 naddy Exp $ */ +/* $OpenBSD: if_bwi_cardbus.c,v 1.17 2024/05/24 06:26:47 jsg Exp $ */ /* * Copyright (c) 2007 Marcus Glocker @@ -24,8 +24,6 @@ #include "bpfilter.h" #include -#include -#include #include #include diff --git a/sys/dev/cardbus/if_dc_cardbus.c b/sys/dev/cardbus/if_dc_cardbus.c index fd11bdd160d..c9eec9d2533 100644 --- a/sys/dev/cardbus/if_dc_cardbus.c +++ b/sys/dev/cardbus/if_dc_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_dc_cardbus.c,v 1.41 2022/04/06 18:59:28 naddy Exp $ */ +/* $OpenBSD: if_dc_cardbus.c,v 1.42 2024/05/24 06:26:47 jsg Exp $ */ /* * Copyright (c) 1997, 1998, 1999 @@ -36,12 +36,6 @@ #include #include -#include -#include -#include -#include -#include -#include #include #include diff --git a/sys/dev/cardbus/if_fxp_cardbus.c b/sys/dev/cardbus/if_fxp_cardbus.c index b6221922a36..b637bacd60f 100644 --- a/sys/dev/cardbus/if_fxp_cardbus.c +++ b/sys/dev/cardbus/if_fxp_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_fxp_cardbus.c,v 1.38 2022/04/06 18:59:28 naddy Exp $ */ +/* $OpenBSD: if_fxp_cardbus.c,v 1.39 2024/05/24 06:26:47 jsg Exp $ */ /* $NetBSD: if_fxp_cardbus.c,v 1.12 2000/05/08 18:23:36 thorpej Exp $ */ /* @@ -39,22 +39,12 @@ #include #include #include -#include -#include -#include -#include -#include #include #include -#include #include #include -#if NBPFILTER > 0 -#include -#endif - #include #include diff --git a/sys/dev/cardbus/if_malo_cardbus.c b/sys/dev/cardbus/if_malo_cardbus.c index 471fe30813a..080a04f2671 100644 --- a/sys/dev/cardbus/if_malo_cardbus.c +++ b/sys/dev/cardbus/if_malo_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_malo_cardbus.c,v 1.13 2022/04/06 18:59:28 naddy Exp $ */ +/* $OpenBSD: if_malo_cardbus.c,v 1.14 2024/05/24 06:26:47 jsg Exp $ */ /* * Copyright (c) 2006 Claudio Jeker @@ -19,8 +19,6 @@ #include "bpfilter.h" #include -#include -#include #include #include diff --git a/sys/dev/cardbus/if_pgt_cardbus.c b/sys/dev/cardbus/if_pgt_cardbus.c index 1c60cb4602d..7a7282dbbad 100644 --- a/sys/dev/cardbus/if_pgt_cardbus.c +++ b/sys/dev/cardbus/if_pgt_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pgt_cardbus.c,v 1.19 2022/04/06 18:59:28 naddy Exp $ */ +/* $OpenBSD: if_pgt_cardbus.c,v 1.20 2024/05/24 06:26:47 jsg Exp $ */ /* * Copyright (c) 2006 Marcus Glocker @@ -23,12 +23,7 @@ #include "bpfilter.h" #include -#include -#include -#include -#include #include -#include #include #include diff --git a/sys/dev/cardbus/if_ral_cardbus.c b/sys/dev/cardbus/if_ral_cardbus.c index 4e3ba383d4b..80967b68777 100644 --- a/sys/dev/cardbus/if_ral_cardbus.c +++ b/sys/dev/cardbus/if_ral_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_ral_cardbus.c,v 1.23 2022/04/06 18:59:28 naddy Exp $ */ +/* $OpenBSD: if_ral_cardbus.c,v 1.24 2024/05/24 06:26:47 jsg Exp $ */ /*- * Copyright (c) 2005-2010 Damien Bergamini @@ -23,12 +23,7 @@ #include "bpfilter.h" #include -#include -#include -#include -#include #include -#include #include #include diff --git a/sys/dev/cardbus/if_re_cardbus.c b/sys/dev/cardbus/if_re_cardbus.c index b437fcc1054..f92c82ff04a 100644 --- a/sys/dev/cardbus/if_re_cardbus.c +++ b/sys/dev/cardbus/if_re_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_re_cardbus.c,v 1.31 2024/01/19 03:46:15 dlg Exp $ */ +/* $OpenBSD: if_re_cardbus.c,v 1.32 2024/05/24 06:26:47 jsg Exp $ */ /* * Copyright (c) 2005 Peter Valchev @@ -21,15 +21,10 @@ */ #include -#include #include -#include #include -#include -#include #include #include -#include #include #include diff --git a/sys/dev/cardbus/if_rl_cardbus.c b/sys/dev/cardbus/if_rl_cardbus.c index 2d4eb393a67..4ca05b2fb55 100644 --- a/sys/dev/cardbus/if_rl_cardbus.c +++ b/sys/dev/cardbus/if_rl_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_rl_cardbus.c,v 1.32 2022/04/06 18:59:28 naddy Exp $ */ +/* $OpenBSD: if_rl_cardbus.c,v 1.33 2024/05/24 06:26:47 jsg Exp $ */ /* $NetBSD: if_rl_cardbus.c,v 1.3.8.3 2001/11/14 19:14:02 nathanw Exp $ */ /* @@ -40,28 +40,16 @@ #include #include -#include -#include -#include -#include -#include -#include #include #include -#include #include #include -#if NBPFILTER > 0 -#include -#endif - #include #include #include -#include #include diff --git a/sys/dev/cardbus/if_rtw_cardbus.c b/sys/dev/cardbus/if_rtw_cardbus.c index 5bbb126fa9a..e4081d3e8f4 100644 --- a/sys/dev/cardbus/if_rtw_cardbus.c +++ b/sys/dev/cardbus/if_rtw_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_rtw_cardbus.c,v 1.27 2022/04/06 18:59:28 naddy Exp $ */ +/* $OpenBSD: if_rtw_cardbus.c,v 1.28 2024/05/24 06:26:47 jsg Exp $ */ /* $NetBSD: if_rtw_cardbus.c,v 1.4 2004/12/20 21:05:34 dyoung Exp $ */ /*- @@ -71,14 +71,7 @@ #include #include -#include -#include -#include -#include -#include -#include #include -#include #include #include @@ -89,10 +82,6 @@ #include #include -#if NBPFILTER > 0 -#include -#endif - #include #include diff --git a/sys/dev/cardbus/if_xl_cardbus.c b/sys/dev/cardbus/if_xl_cardbus.c index 06b6256cffd..5b57641a6c4 100644 --- a/sys/dev/cardbus/if_xl_cardbus.c +++ b/sys/dev/cardbus/if_xl_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xl_cardbus.c,v 1.34 2022/04/06 18:59:28 naddy Exp $ */ +/* $OpenBSD: if_xl_cardbus.c,v 1.35 2024/05/24 06:26:47 jsg Exp $ */ /* $NetBSD: if_xl_cardbus.c,v 1.13 2000/03/07 00:32:52 mycroft Exp $ */ /* @@ -31,16 +31,8 @@ * */ -#include "bpfilter.h" - #include #include -#include -#include -#include -#include -#include -#include #include #include diff --git a/sys/dev/cardbus/ohci_cardbus.c b/sys/dev/cardbus/ohci_cardbus.c index 633195aa457..94b2988fca5 100644 --- a/sys/dev/cardbus/ohci_cardbus.c +++ b/sys/dev/cardbus/ohci_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ohci_cardbus.c,v 1.23 2022/04/06 18:59:28 naddy Exp $ */ +/* $OpenBSD: ohci_cardbus.c,v 1.24 2024/05/24 06:26:47 jsg Exp $ */ /* $NetBSD: ohci_cardbus.c,v 1.19 2004/08/02 19:14:28 mycroft Exp $ */ /* @@ -41,7 +41,6 @@ #include #include -#include #include #include @@ -51,7 +50,6 @@ #include #include #include -#include #include #include diff --git a/sys/dev/cardbus/puc_cardbus.c b/sys/dev/cardbus/puc_cardbus.c index e93149efb41..bd791eb9292 100644 --- a/sys/dev/cardbus/puc_cardbus.c +++ b/sys/dev/cardbus/puc_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: puc_cardbus.c,v 1.9 2022/04/06 18:59:28 naddy Exp $ */ +/* $OpenBSD: puc_cardbus.c,v 1.10 2024/05/24 06:26:47 jsg Exp $ */ /* * Copyright (c) 2006 Michael Shalayeff @@ -20,10 +20,6 @@ #include #include #include -#include - -#include -#include #include #include diff --git a/sys/dev/cardbus/uhci_cardbus.c b/sys/dev/cardbus/uhci_cardbus.c index d6aa0a8f27e..98474c84117 100644 --- a/sys/dev/cardbus/uhci_cardbus.c +++ b/sys/dev/cardbus/uhci_cardbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uhci_cardbus.c,v 1.16 2022/04/06 18:59:28 naddy Exp $ */ +/* $OpenBSD: uhci_cardbus.c,v 1.17 2024/05/24 06:26:47 jsg Exp $ */ /* * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -32,7 +32,6 @@ #include #include -#include #include #include @@ -42,7 +41,6 @@ #include #include #include -#include #include #include -- 2.20.1