summaryrefslogtreecommitdiff
path: root/hw/char
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2021-03-26 16:18:48 +0100
committerLaurent Vivier <laurent@vivier.eu>2021-05-02 17:24:50 +0200
commite06054368cceb59f720e9d7c2ceca84329105758 (patch)
treebf045cd7e27927eb7b287c863ae04327c5511b06 /hw/char
parent7c06a34c8c4f2c883d6ab6b15faa214d4ebfb269 (diff)
downloadqemu-e06054368cceb59f720e9d7c2ceca84329105758.zip
hw: Remove superfluous includes of hw/hw.h
The include/hw/hw.h header only has a prototype for hw_error(), so it does not make sense to include this in files that do not use this function. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210326151848.2217216-1-thuth@redhat.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'hw/char')
-rw-r--r--hw/char/sifive_uart.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/hw/char/sifive_uart.c b/hw/char/sifive_uart.c
index 3a00ba7f00..ee7adb8e30 100644
--- a/hw/char/sifive_uart.c
+++ b/hw/char/sifive_uart.c
@@ -22,7 +22,6 @@
#include "hw/sysbus.h"
#include "chardev/char.h"
#include "chardev/char-fe.h"
-#include "hw/hw.h"
#include "hw/irq.h"
#include "hw/char/sifive_uart.h"