Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Feb 2024 22:23:23 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 9d2c93c24996 - main - ddb: Remove useless includes
Message-ID:  <202402062223.416MNNMZ071300@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402062223.416MNNMZ071300>