From: jsg Date: Fri, 24 May 2024 10:05:55 +0000 (+0000) Subject: remove unneeded includes X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=b4155af8a082e39401ba2bf7415523987f776dcf;p=openbsd remove unneeded includes --- diff --git a/sys/dev/pv/hvs.c b/sys/dev/pv/hvs.c index 812d11957ca..27586402d69 100644 --- a/sys/dev/pv/hvs.c +++ b/sys/dev/pv/hvs.c @@ -37,8 +37,6 @@ #include #include #include -#include -#include #include #include @@ -50,8 +48,6 @@ #include #include -#include -#include #include #define HVS_PROTO_VERSION_WIN6 0x200 diff --git a/sys/dev/pv/hyperv.c b/sys/dev/pv/hyperv.c index da9bf3ae6d7..afb7eaaeb80 100644 --- a/sys/dev/pv/hyperv.c +++ b/sys/dev/pv/hyperv.c @@ -45,15 +45,10 @@ #endif #include -#include -#include -#include #include -#include #include #include #include -#include #include #include @@ -64,7 +59,6 @@ #include #include -#include #include #include diff --git a/sys/dev/pv/hypervic.c b/sys/dev/pv/hypervic.c index b3ce2d91bea..d78e0f861d9 100644 --- a/sys/dev/pv/hypervic.c +++ b/sys/dev/pv/hypervic.c @@ -45,24 +45,14 @@ #endif #include -#include -#include -#include #include #include #include #include -#include #include -#include -#include #include #include -#include -#include - -#include #include #include @@ -70,7 +60,6 @@ #include #include -#include #include #include #include diff --git a/sys/dev/pv/if_hvn.c b/sys/dev/pv/if_hvn.c index 5254093c54c..1ed4bba056f 100644 --- a/sys/dev/pv/if_hvn.c +++ b/sys/dev/pv/if_hvn.c @@ -33,21 +33,16 @@ #include "bpfilter.h" #include "vlan.h" -#include "hyperv.h" #include #include #include #include -#include #include #include -#include #include -#include #include #include -#include #include @@ -66,10 +61,6 @@ #include #include -#ifdef INET6 -#include -#endif - #if NBPFILTER > 0 #include #endif diff --git a/sys/dev/pv/if_vio.c b/sys/dev/pv/if_vio.c index 7d0e4ec30ff..3d0a4f5210d 100644 --- a/sys/dev/pv/if_vio.c +++ b/sys/dev/pv/if_vio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_vio.c,v 1.34 2024/05/17 16:37:10 sf Exp $ */ +/* $OpenBSD: if_vio.c,v 1.35 2024/05/24 10:05:55 jsg Exp $ */ /* * Copyright (c) 2012 Stefan Fritsch, Alexander Fiveg. @@ -31,10 +31,8 @@ #include #include -#include #include #include -#include #include #include diff --git a/sys/dev/pv/if_xnf.c b/sys/dev/pv/if_xnf.c index b8aa9bb2178..3c423aee2e3 100644 --- a/sys/dev/pv/if_xnf.c +++ b/sys/dev/pv/if_xnf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_xnf.c,v 1.69 2023/11/10 15:51:24 bluhm Exp $ */ +/* $OpenBSD: if_xnf.c,v 1.70 2024/05/24 10:05:55 jsg Exp $ */ /* * Copyright (c) 2015, 2016 Mike Belopuhov @@ -17,22 +17,15 @@ */ #include "bpfilter.h" -#include "vlan.h" -#include "xen.h" #include #include #include #include -#include -#include #include -#include #include -#include #include #include -#include #include @@ -45,10 +38,6 @@ #include #include -#ifdef INET6 -#include -#endif - #if NBPFILTER > 0 #include #endif diff --git a/sys/dev/pv/pvbus.c b/sys/dev/pv/pvbus.c index 2f4cdd31849..38910973862 100644 --- a/sys/dev/pv/pvbus.c +++ b/sys/dev/pv/pvbus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pvbus.c,v 1.27 2023/01/07 06:40:21 asou Exp $ */ +/* $OpenBSD: pvbus.c,v 1.28 2024/05/24 10:05:55 jsg Exp $ */ /* * Copyright (c) 2015 Reyk Floeter @@ -22,13 +22,10 @@ #include #include -#include #include -#include #include #include #include -#include #include #include diff --git a/sys/dev/pv/pvclock.c b/sys/dev/pv/pvclock.c index 815d8afb7c4..994fc4a337c 100644 --- a/sys/dev/pv/pvclock.c +++ b/sys/dev/pv/pvclock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pvclock.c,v 1.10 2024/05/14 08:26:13 jsg Exp $ */ +/* $OpenBSD: pvclock.c,v 1.11 2024/05/24 10:05:55 jsg Exp $ */ /* * Copyright (c) 2018 Reyk Floeter @@ -22,11 +22,7 @@ #include #include -#include #include -#include -#include -#include #include #include diff --git a/sys/dev/pv/vioblk.c b/sys/dev/pv/vioblk.c index 05ecc756528..5b657fab336 100644 --- a/sys/dev/pv/vioblk.c +++ b/sys/dev/pv/vioblk.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vioblk.c,v 1.37 2023/07/28 16:54:48 dv Exp $ */ +/* $OpenBSD: vioblk.c,v 1.38 2024/05/24 10:05:55 jsg Exp $ */ /* * Copyright (c) 2012 Stefan Fritsch. @@ -48,12 +48,9 @@ #include #include -#include #include #include -#include -#include #include #include #include diff --git a/sys/dev/pv/viocon.c b/sys/dev/pv/viocon.c index 313d3acf73a..112e317fe5a 100644 --- a/sys/dev/pv/viocon.c +++ b/sys/dev/pv/viocon.c @@ -1,4 +1,4 @@ -/* $OpenBSD: viocon.c,v 1.10 2023/07/28 16:54:48 dv Exp $ */ +/* $OpenBSD: viocon.c,v 1.11 2024/05/24 10:05:55 jsg Exp $ */ /* * Copyright (c) 2013-2015 Stefan Fritsch @@ -18,13 +18,11 @@ #include #include -#include -#include +#include #include #include #include #include -#include #include #include diff --git a/sys/dev/pv/viogpu.c b/sys/dev/pv/viogpu.c index 2d8d3074a9b..81844e393fc 100644 --- a/sys/dev/pv/viogpu.c +++ b/sys/dev/pv/viogpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: viogpu.c,v 1.5 2024/05/14 08:26:13 jsg Exp $ */ +/* $OpenBSD: viogpu.c,v 1.6 2024/05/24 10:05:55 jsg Exp $ */ /* * Copyright (c) 2021-2023 joshua stein @@ -18,7 +18,6 @@ #include #include -#include #include #include diff --git a/sys/dev/pv/viomb.c b/sys/dev/pv/viomb.c index a14d085c3e1..a8906ecaab9 100644 --- a/sys/dev/pv/viomb.c +++ b/sys/dev/pv/viomb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: viomb.c,v 1.9 2023/05/29 08:13:35 sf Exp $ */ +/* $OpenBSD: viomb.c,v 1.10 2024/05/24 10:05:55 jsg Exp $ */ /* $NetBSD: viomb.c,v 1.1 2011/10/30 12:12:21 hannken Exp $ */ /* @@ -29,7 +29,6 @@ #include #include -#include #include #include #include diff --git a/sys/dev/pv/viornd.c b/sys/dev/pv/viornd.c index 5f5dfac75e6..54c0640ec2c 100644 --- a/sys/dev/pv/viornd.c +++ b/sys/dev/pv/viornd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: viornd.c,v 1.7 2023/07/28 16:54:48 dv Exp $ */ +/* $OpenBSD: viornd.c,v 1.8 2024/05/24 10:05:55 jsg Exp $ */ /* * Copyright (c) 2014 Stefan Fritsch @@ -18,7 +18,6 @@ #include #include -#include #include #include #include diff --git a/sys/dev/pv/virtio.c b/sys/dev/pv/virtio.c index 53e27e27211..49a7fe2b2e0 100644 --- a/sys/dev/pv/virtio.c +++ b/sys/dev/pv/virtio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: virtio.c,v 1.24 2023/12/02 10:01:35 sf Exp $ */ +/* $OpenBSD: virtio.c,v 1.25 2024/05/24 10:05:55 jsg Exp $ */ /* $NetBSD: virtio.c,v 1.3 2011/11/02 23:05:52 njoly Exp $ */ /* @@ -29,9 +29,7 @@ #include #include -#include #include -#include #include #include diff --git a/sys/dev/pv/vmmci.c b/sys/dev/pv/vmmci.c index 2f3539e96eb..f8385dfe1b4 100644 --- a/sys/dev/pv/vmmci.c +++ b/sys/dev/pv/vmmci.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmmci.c,v 1.10 2023/05/29 08:13:35 sf Exp $ */ +/* $OpenBSD: vmmci.c,v 1.11 2024/05/24 10:05:55 jsg Exp $ */ /* * Copyright (c) 2017 Reyk Floeter @@ -18,13 +18,8 @@ #include #include -#include #include -#include -#include #include -#include -#include #include #include diff --git a/sys/dev/pv/vmt.c b/sys/dev/pv/vmt.c index 824d8530dbd..1910b82415c 100644 --- a/sys/dev/pv/vmt.c +++ b/sys/dev/pv/vmt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vmt.c,v 1.31 2023/09/26 08:30:13 mvs Exp $ */ +/* $OpenBSD: vmt.c,v 1.32 2024/05/24 10:05:55 jsg Exp $ */ /* * Copyright (c) 2007 David Crawshaw @@ -28,14 +28,9 @@ #include #include -#include #include #include -#include #include -#include -#include -#include #include #include #include diff --git a/sys/dev/pv/xbf.c b/sys/dev/pv/xbf.c index 08c285d88f1..b26a73aec90 100644 --- a/sys/dev/pv/xbf.c +++ b/sys/dev/pv/xbf.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xbf.c,v 1.53 2023/11/08 12:01:21 krw Exp $ */ +/* $OpenBSD: xbf.c,v 1.54 2024/05/24 10:05:55 jsg Exp $ */ /* * Copyright (c) 2016, 2017 Mike Belopuhov @@ -17,14 +17,10 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -#include "bio.h" - #include #include #include #include -#include -#include #include #include diff --git a/sys/dev/pv/xen.c b/sys/dev/pv/xen.c index 11ce4ca99cd..0c6ad0a907a 100644 --- a/sys/dev/pv/xen.c +++ b/sys/dev/pv/xen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xen.c,v 1.97 2020/06/29 06:50:52 jsg Exp $ */ +/* $OpenBSD: xen.c,v 1.98 2024/05/24 10:05:55 jsg Exp $ */ /* * Copyright (c) 2015, 2016, 2017 Mike Belopuhov @@ -31,15 +31,11 @@ #include #include -#include -#include #include #include -#include #include #include #include -#include #include #include diff --git a/sys/dev/pv/xenstore.c b/sys/dev/pv/xenstore.c index 27199590fbd..0c00dbff4f8 100644 --- a/sys/dev/pv/xenstore.c +++ b/sys/dev/pv/xenstore.c @@ -1,4 +1,4 @@ -/* $OpenBSD: xenstore.c,v 1.49 2023/04/11 00:45:08 jsg Exp $ */ +/* $OpenBSD: xenstore.c,v 1.50 2024/05/24 10:05:55 jsg Exp $ */ /* * Copyright (c) 2015 Mike Belopuhov @@ -19,12 +19,10 @@ #include #include #include -#include #include #include #include #include -#include #include #include