@samitouri / QOSamiQemu / commits / bd2871ac50

system: Remove unnecessary 'monitor/monitor.h' header

No code in device_tree.c or physmem.c require declarations from "monitor/monitor.h". Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com> Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20260812211708.92824-13-philmd@oss.qualcomm.com>

Philippe Mathieu-Daudé committed Aug 12, 2026 at 10:40 UTC bd2871ac5031dde689ca42e2c3e4492da403d853
2 files changed -3
system/device_tree.c
-1
@@ -29,7 +29,6 @@
29 #include "qemu/config-file.h"
30 #include "qapi/qapi-commands-machine.h"
31 #include "qobject/qdict.h"
32 -#include "monitor/hmp.h"
32
33 #include <libfdt.h>
34
system/physmem.c
-2
@@ -84,8 +84,6 @@
84 #include "qemu/mmap-alloc.h"
85 #endif
86
87 -#include "monitor/monitor.h"
88 -
87 #ifdef CONFIG_LIBDAXCTL
88 #include <daxctl/libdaxctl.h>
89 #endif