From: miod Date: Fri, 29 Mar 2024 21:26:38 +0000 (+0000) Subject: Remove truly unneeded includes (not included indirectly). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f635dc10fc654a0c2ddad55524351bf07d2bf038;p=openbsd Remove truly unneeded includes (not included indirectly). ok claudio@ kettenis@ --- diff --git a/sys/arch/sparc64/sparc64/clock.c b/sys/arch/sparc64/sparc64/clock.c index c5cf142fdba..1cab29fa0bf 100644 --- a/sys/arch/sparc64/sparc64/clock.c +++ b/sys/arch/sparc64/sparc64/clock.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clock.c,v 1.84 2024/03/29 21:18:19 miod Exp $ */ +/* $OpenBSD: clock.c,v 1.85 2024/03/29 21:26:38 miod Exp $ */ /* $NetBSD: clock.c,v 1.41 2001/07/24 19:29:25 eeh Exp $ */ /* @@ -66,14 +66,9 @@ #include #include #include -#include -#include #include #include #include -#ifdef GPROF -#include -#endif #include #include #include @@ -87,7 +82,6 @@ #include #include -#include #include #include #include diff --git a/sys/arch/sparc64/sparc64/cpu.c b/sys/arch/sparc64/sparc64/cpu.c index 0bd8f2c23c7..3d504aa93a2 100644 --- a/sys/arch/sparc64/sparc64/cpu.c +++ b/sys/arch/sparc64/sparc64/cpu.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cpu.c,v 1.76 2024/03/29 21:11:32 miod Exp $ */ +/* $OpenBSD: cpu.c,v 1.77 2024/03/29 21:26:38 miod Exp $ */ /* $NetBSD: cpu.c,v 1.13 2001/05/26 21:27:15 chs Exp $ */ /* @@ -63,7 +63,6 @@ #include #include #include -#include #include #include #include diff --git a/sys/arch/sparc64/sparc64/machdep.c b/sys/arch/sparc64/sparc64/machdep.c index b7d63945bff..ddd1c5c72f3 100644 --- a/sys/arch/sparc64/sparc64/machdep.c +++ b/sys/arch/sparc64/sparc64/machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: machdep.c,v 1.213 2024/03/29 21:17:13 miod Exp $ */ +/* $OpenBSD: machdep.c,v 1.214 2024/03/29 21:26:38 miod Exp $ */ /* $NetBSD: machdep.c,v 1.108 2001/07/24 19:30:14 eeh Exp $ */ /*- @@ -72,7 +72,6 @@ */ #include -#include #include #include #include @@ -86,18 +85,15 @@ #include #include #include -#include #include #include #include -#include #include #include #define _SPARC_BUS_DMA_PRIVATE -#include #include #include #include diff --git a/sys/arch/sparc64/sparc64/pmap.c b/sys/arch/sparc64/sparc64/pmap.c index b03310c0a5f..0b9082b4e6d 100644 --- a/sys/arch/sparc64/sparc64/pmap.c +++ b/sys/arch/sparc64/sparc64/pmap.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pmap.c,v 1.114 2024/03/29 21:17:13 miod Exp $ */ +/* $OpenBSD: pmap.c,v 1.115 2024/03/29 21:26:38 miod Exp $ */ /* $NetBSD: pmap.c,v 1.107 2001/08/31 16:47:41 eeh Exp $ */ /* * @@ -28,7 +28,6 @@ #include #include -#include #include #include #include @@ -51,16 +50,9 @@ #ifdef DDB #include -#include -#include -#include -#include -#include #include -#define db_enter() __asm volatile("ta 1; nop"); #else #define db_enter() -#define db_printf printf #endif #define MEG (1<<20) /* 1MB */