git: 9d2c93c24996 - main - ddb: Remove useless includes
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 06 Feb 2024 22:23:23 UTC
The branch main has been updated by imp:
URL: https://cgit.FreeBSD.org/src/commit/?id=9d2c93c249962364d599852f00c161870b28f33d
commit 9d2c93c249962364d599852f00c161870b28f33d
Author: Warner Losh <imp@FreeBSD.org>
AuthorDate: 2024-02-06 22:20:02 +0000
Commit: Warner Losh <imp@FreeBSD.org>
CommitDate: 2024-02-06 22:22:01 +0000
ddb: Remove useless includes
systm.h was included for boothowto here, but it's not used here, so drop
this include. Also sys/cdefs.h isn't needed, drop it too.
Sponsored by: Netflix
---
sys/arm/arm/db_interface.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/sys/arm/arm/db_interface.c b/sys/arm/arm/db_interface.c
index 8aad6a42316e..a3e242c305c1 100644
--- a/sys/arm/arm/db_interface.c
+++ b/sys/arm/arm/db_interface.c
@@ -34,14 +34,12 @@
* Interface to new debugger.
*/
-#include <sys/cdefs.h>
#include "opt_ddb.h"
#include <sys/param.h>
#include <sys/cons.h>
#include <sys/proc.h>
#include <sys/reboot.h>
-#include <sys/systm.h> /* just for boothowto */
#include <sys/exec.h>
#ifdef KDB
#include <sys/kdb.h>