From: jsg Date: Thu, 17 Oct 2024 01:57:18 +0000 (+0000) Subject: remove unneeded includes X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e309ca491b5bd8801f54e6ae9242b0614938efcc;p=openbsd remove unneeded includes --- diff --git a/sys/arch/riscv64/dev/sfclock.c b/sys/arch/riscv64/dev/sfclock.c index ba6c1b81a2e..ea2d55a243f 100644 --- a/sys/arch/riscv64/dev/sfclock.c +++ b/sys/arch/riscv64/dev/sfclock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sfclock.c,v 1.2 2022/04/06 18:59:27 naddy Exp $ */ +/* $OpenBSD: sfclock.c,v 1.3 2024/10/17 01:57:18 jsg Exp $ */ /* * Copyright (c) 2021 Mark Kettenis * @@ -19,13 +19,11 @@ #include #include -#include #include #include #include #include -#include #include /* Clock IDs */ diff --git a/sys/arch/riscv64/dev/sfgpio.c b/sys/arch/riscv64/dev/sfgpio.c index 8998988390e..fd3f0b22e85 100644 --- a/sys/arch/riscv64/dev/sfgpio.c +++ b/sys/arch/riscv64/dev/sfgpio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sfgpio.c,v 1.2 2022/06/06 14:34:11 kettenis Exp $ */ +/* $OpenBSD: sfgpio.c,v 1.3 2024/10/17 01:57:18 jsg Exp $ */ /* * Copyright (c) 2022 Mark Kettenis * Copyright (c) 2019 Patrick Wildt @@ -20,7 +20,6 @@ #include #include #include -#include #include #include diff --git a/sys/arch/riscv64/dev/stfclock.c b/sys/arch/riscv64/dev/stfclock.c index 4737abeba22..596543139b0 100644 --- a/sys/arch/riscv64/dev/stfclock.c +++ b/sys/arch/riscv64/dev/stfclock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: stfclock.c,v 1.13 2024/02/17 12:01:45 kettenis Exp $ */ +/* $OpenBSD: stfclock.c,v 1.14 2024/10/17 01:57:18 jsg Exp $ */ /* * Copyright (c) 2022 Mark Kettenis * Copyright (c) 2023 Joel Sing @@ -19,9 +19,7 @@ #include #include #include -#include -#include #include #include diff --git a/sys/arch/riscv64/dev/stfpcie.c b/sys/arch/riscv64/dev/stfpcie.c index 1a88f68ec00..29fc0957a5d 100644 --- a/sys/arch/riscv64/dev/stfpcie.c +++ b/sys/arch/riscv64/dev/stfpcie.c @@ -1,4 +1,4 @@ -/* $OpenBSD: stfpcie.c,v 1.3 2023/11/27 13:42:19 jsg Exp $ */ +/* $OpenBSD: stfpcie.c,v 1.4 2024/10/17 01:57:18 jsg Exp $ */ /* * Copyright (c) 2023 Mark Kettenis * @@ -26,7 +26,6 @@ #include #include -#include #include #include @@ -35,7 +34,6 @@ #include #include #include -#include #include /* diff --git a/sys/arch/riscv64/dev/stfpciephy.c b/sys/arch/riscv64/dev/stfpciephy.c index 7c4ccf9b367..7e3cf65a1d0 100644 --- a/sys/arch/riscv64/dev/stfpciephy.c +++ b/sys/arch/riscv64/dev/stfpciephy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: stfpciephy.c,v 1.1 2023/07/08 10:06:14 kettenis Exp $ */ +/* $OpenBSD: stfpciephy.c,v 1.2 2024/10/17 01:57:18 jsg Exp $ */ /* * Copyright (c) 2023 Mark Kettenis * @@ -19,12 +19,10 @@ #include #include -#include #include #include #include -#include #include #include diff --git a/sys/arch/riscv64/dev/stfpinctrl.c b/sys/arch/riscv64/dev/stfpinctrl.c index c89cce4bd18..e1973eed68a 100644 --- a/sys/arch/riscv64/dev/stfpinctrl.c +++ b/sys/arch/riscv64/dev/stfpinctrl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: stfpinctrl.c,v 1.3 2023/07/05 11:07:37 kettenis Exp $ */ +/* $OpenBSD: stfpinctrl.c,v 1.4 2024/10/17 01:57:18 jsg Exp $ */ /* * Copyright (c) 2022 Mark Kettenis * @@ -18,10 +18,7 @@ #include #include #include -#include -#include -#include #include #include diff --git a/sys/arch/riscv64/dev/stftemp.c b/sys/arch/riscv64/dev/stftemp.c index 7c4b836524e..01ea051216e 100644 --- a/sys/arch/riscv64/dev/stftemp.c +++ b/sys/arch/riscv64/dev/stftemp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: stftemp.c,v 1.2 2023/07/01 08:20:38 jsing Exp $ */ +/* $OpenBSD: stftemp.c,v 1.3 2024/10/17 01:57:18 jsg Exp $ */ /* * Copyright (c) 2022 Mark Kettenis * @@ -20,7 +20,6 @@ #include #include -#include #include #include diff --git a/sys/arch/riscv64/dev/sxitimer.c b/sys/arch/riscv64/dev/sxitimer.c index 2496b07a550..4bd996fd973 100644 --- a/sys/arch/riscv64/dev/sxitimer.c +++ b/sys/arch/riscv64/dev/sxitimer.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sxitimer.c,v 1.1 2024/01/27 12:05:40 kettenis Exp $ */ +/* $OpenBSD: sxitimer.c,v 1.2 2024/10/17 01:57:18 jsg Exp $ */ /* * Copyright (c) 2024 Mark Kettenis * @@ -19,7 +19,6 @@ #include #include #include -#include #include #include diff --git a/sys/arch/riscv64/riscv64/db_interface.c b/sys/arch/riscv64/riscv64/db_interface.c index ade427794e7..d900c0bc7d1 100644 --- a/sys/arch/riscv64/riscv64/db_interface.c +++ b/sys/arch/riscv64/riscv64/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.9 2024/02/23 18:19:03 cheloha Exp $ */ +/* $OpenBSD: db_interface.c,v 1.10 2024/10/17 01:57:18 jsg Exp $ */ /* * Copyright (c) 1996 Scott K. Stevens @@ -36,8 +36,6 @@ #include #include #include -#include -#include #include @@ -47,7 +45,6 @@ #include #include #include -#include #include #include #include diff --git a/sys/arch/riscv64/riscv64/db_trace.c b/sys/arch/riscv64/riscv64/db_trace.c index 87b1e0cc29d..041f0b4f5a2 100644 --- a/sys/arch/riscv64/riscv64/db_trace.c +++ b/sys/arch/riscv64/riscv64/db_trace.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_trace.c,v 1.5 2022/02/22 07:46:04 visa Exp $ */ +/* $OpenBSD: db_trace.c,v 1.6 2024/10/17 01:57:18 jsg Exp $ */ /* * Copyright (c) 2000, 2001 Ben Harris @@ -32,14 +32,10 @@ #include #include -#include -#include -#include #include #include #include -#include #include #include diff --git a/sys/arch/riscv64/riscv64/exception.S b/sys/arch/riscv64/riscv64/exception.S index 9a53200e248..792a4715deb 100644 --- a/sys/arch/riscv64/riscv64/exception.S +++ b/sys/arch/riscv64/riscv64/exception.S @@ -1,4 +1,4 @@ -/* $OpenBSD: exception.S,v 1.8 2023/11/24 07:57:39 miod Exp $ */ +/* $OpenBSD: exception.S,v 1.9 2024/10/17 01:57:18 jsg Exp $ */ /*- * Copyright (c) 2015-2018 Ruslan Bukin @@ -36,7 +36,6 @@ #include "assym.h" #include -#include #include .macro save_registers mode diff --git a/sys/arch/riscv64/riscv64/fpu.c b/sys/arch/riscv64/riscv64/fpu.c index 0b2963d2e9a..5a1c5391886 100644 --- a/sys/arch/riscv64/riscv64/fpu.c +++ b/sys/arch/riscv64/riscv64/fpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: fpu.c,v 1.11 2021/06/30 22:20:56 kettenis Exp $ */ +/* $OpenBSD: fpu.c,v 1.12 2024/10/17 01:57:18 jsg Exp $ */ /* * Copyright (c) 2020 Dale Rahn @@ -20,7 +20,6 @@ #include #include #include -#include "machine/asm.h" void fpu_disable(void)