summaryrefslogtreecommitdiffstats
path: root/chardev
diff options
context:
space:
mode:
authorThomas Huth2021-04-16 19:13:11 +0200
committerLaurent Vivier2021-05-02 17:24:50 +0200
commit4c386f8064ca3241a61341b5c5d5a70bbab496ab (patch)
tree2e2ab4f32c1b65f150fcdb40fd2d634736176d85 /chardev
parenthw: Do not include qemu/log.h if it is not necessary (diff)
downloadqemu-4c386f8064ca3241a61341b5c5d5a70bbab496ab.tar.gz
qemu-4c386f8064ca3241a61341b5c5d5a70bbab496ab.tar.xz
qemu-4c386f8064ca3241a61341b5c5d5a70bbab496ab.zip
Do not include sysemu/sysemu.h if it's not really necessary
Stop including sysemu/sysemu.h in files that don't need it. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20210416171314.2074665-2-thuth@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'chardev')
-rw-r--r--chardev/char-mux.c1
-rw-r--r--chardev/char.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/chardev/char-mux.c b/chardev/char-mux.c
index 72beef29d2..5baf419010 100644
--- a/chardev/char-mux.c
+++ b/chardev/char-mux.c
@@ -28,7 +28,6 @@
#include "qemu/option.h"
#include "chardev/char.h"
#include "sysemu/block-backend.h"
-#include "sysemu/sysemu.h"
#include "chardev-internal.h"
/* MUX driver for serial I/O splitting */
diff --git a/chardev/char.c b/chardev/char.c
index 398f09df19..a4ebfcc5ac 100644
--- a/chardev/char.c
+++ b/chardev/char.c
@@ -25,7 +25,6 @@
#include "qemu/osdep.h"
#include "qemu/cutils.h"
#include "monitor/monitor.h"
-#include "sysemu/sysemu.h"
#include "qemu/config-file.h"
#include "qemu/error-report.h"
#include "qemu/qemu-print.h"