aboutsummaryrefslogtreecommitdiff
path: root/hw/dma
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/dma
parent7c06a34c8c4f2c883d6ab6b15faa214d4ebfb269 (diff)
downloadqemu-e06054368cceb59f720e9d7c2ceca84329105758.zip
qemu-e06054368cceb59f720e9d7c2ceca84329105758.tar.gz
qemu-e06054368cceb59f720e9d7c2ceca84329105758.tar.bz2
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/dma')
-rw-r--r--hw/dma/sifive_pdma.c1
-rw-r--r--hw/dma/xlnx_csu_dma.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/hw/dma/sifive_pdma.c b/hw/dma/sifive_pdma.c
index e1f6fed..9b2ac20 100644
--- a/hw/dma/sifive_pdma.c
+++ b/hw/dma/sifive_pdma.c
@@ -24,7 +24,6 @@
#include "qemu/bitops.h"
#include "qemu/log.h"
#include "qapi/error.h"
-#include "hw/hw.h"
#include "hw/irq.h"
#include "hw/qdev-properties.h"
#include "hw/sysbus.h"
diff --git a/hw/dma/xlnx_csu_dma.c b/hw/dma/xlnx_csu_dma.c
index 98324da..797b4fe 100644
--- a/hw/dma/xlnx_csu_dma.c
+++ b/hw/dma/xlnx_csu_dma.c
@@ -21,7 +21,6 @@
#include "qemu/osdep.h"
#include "qemu/log.h"
#include "qapi/error.h"
-#include "hw/hw.h"
#include "hw/irq.h"
#include "hw/qdev-properties.h"
#include "hw/sysbus.h"