From 8afde4364dac1eeb5d0fe291f625af4f907921ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Date: Mon, 22 Dec 2025 16:53:10 +0100 Subject: [PATCH] tests/qtest: Remove unnecessary 'qemu/bswap.h' include MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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> --- tests/qtest/aspeed_smc-test.c | 1 - tests/qtest/ast2700-smc-test.c | 1 - tests/qtest/libqos/fw_cfg.c | 1 - tests/qtest/libqos/i2c-omap.c | 1 - tests/qtest/pnv-spi-seeprom-test.c | 1 - tests/qtest/pnv-xive2-common.h | 1 - 6 files changed, 6 deletions(-) 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"