From: Philippe Mathieu-Daudé Date: Mon, 22 Dec 2025 15:53:10 +0000 (+0100) Subject: tests/qtest: Remove unnecessary 'qemu/bswap.h' include X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8afde4364dac1eeb5d0fe291f625af4f907921ae;p=thirdparty%2Fqemu.git tests/qtest: Remove unnecessary 'qemu/bswap.h' include None of these files use API declared in "qemu/bswap.h", remove the unnecessary inclusion. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Cédric Le Goater Reviewed-by: Manos Pitsidianakis Reviewed-by: Richard Henderson Message-ID: <20260109164742.58041-2-philmd@linaro.org> --- diff --git a/tests/qtest/aspeed_smc-test.c b/tests/qtest/aspeed_smc-test.c index 50a87e6250..39af1df0ed 100644 --- a/tests/qtest/aspeed_smc-test.c +++ b/tests/qtest/aspeed_smc-test.c @@ -24,7 +24,6 @@ */ #include "qemu/osdep.h" -#include "qemu/bswap.h" #include "libqtest-single.h" #include "qemu/bitops.h" #include "aspeed-smc-utils.h" diff --git a/tests/qtest/ast2700-smc-test.c b/tests/qtest/ast2700-smc-test.c index 62d538d8a3..33fc47230e 100644 --- a/tests/qtest/ast2700-smc-test.c +++ b/tests/qtest/ast2700-smc-test.c @@ -7,7 +7,6 @@ */ #include "qemu/osdep.h" -#include "qemu/bswap.h" #include "libqtest-single.h" #include "qemu/bitops.h" #include "aspeed-smc-utils.h" diff --git a/tests/qtest/libqos/fw_cfg.c b/tests/qtest/libqos/fw_cfg.c index 0ab3959171..8611f648c1 100644 --- a/tests/qtest/libqos/fw_cfg.c +++ b/tests/qtest/libqos/fw_cfg.c @@ -17,7 +17,6 @@ #include "malloc-pc.h" #include "libqos-malloc.h" #include "../libqtest.h" -#include "qemu/bswap.h" #include "hw/nvram/fw_cfg.h" void qfw_cfg_select(QFWCFG *fw_cfg, uint16_t key) diff --git a/tests/qtest/libqos/i2c-omap.c b/tests/qtest/libqos/i2c-omap.c index 6f98f54820..71f70c64f8 100644 --- a/tests/qtest/libqos/i2c-omap.c +++ b/tests/qtest/libqos/i2c-omap.c @@ -10,7 +10,6 @@ #include "i2c.h" -#include "qemu/bswap.h" #include "../libqtest.h" enum OMAPI2CRegisters { diff --git a/tests/qtest/pnv-spi-seeprom-test.c b/tests/qtest/pnv-spi-seeprom-test.c index 8033261758..44e0b92730 100644 --- a/tests/qtest/pnv-spi-seeprom-test.c +++ b/tests/qtest/pnv-spi-seeprom-test.c @@ -7,7 +7,6 @@ */ #include "qemu/osdep.h" #include "libqtest.h" -#include "qemu/bswap.h" #include "hw/ssi/pnv_spi_regs.h" #include "pnv-xscom.h" diff --git a/tests/qtest/pnv-xive2-common.h b/tests/qtest/pnv-xive2-common.h index 2077c05ebc..3b84227424 100644 --- a/tests/qtest/pnv-xive2-common.h +++ b/tests/qtest/pnv-xive2-common.h @@ -15,7 +15,6 @@ #define PPC_BITMASK(bs, be) ((PPC_BIT(bs) - PPC_BIT(be)) | PPC_BIT(bs)) #define PPC_BITMASK32(bs, be) ((PPC_BIT32(bs) - PPC_BIT32(be)) | \ PPC_BIT32(bs)) -#include "qemu/bswap.h" #include "hw/intc/pnv_xive2_regs.h" #include "hw/ppc/xive_regs.h" #include "hw/ppc/xive2_regs.h"