Browse Source

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é <philmd@linaro.org>
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Reviewed-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20260109164742.58041-2-philmd@linaro.org>
pull/316/head
Philippe Mathieu-Daudé 3 months ago
parent
commit
8afde4364d
  1. 1
      tests/qtest/aspeed_smc-test.c
  2. 1
      tests/qtest/ast2700-smc-test.c
  3. 1
      tests/qtest/libqos/fw_cfg.c
  4. 1
      tests/qtest/libqos/i2c-omap.c
  5. 1
      tests/qtest/pnv-spi-seeprom-test.c
  6. 1
      tests/qtest/pnv-xive2-common.h

1
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"

1
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"

1
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)

1
tests/qtest/libqos/i2c-omap.c

@ -10,7 +10,6 @@
#include "i2c.h"
#include "qemu/bswap.h"
#include "../libqtest.h"
enum OMAPI2CRegisters {

1
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"

1
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"

Loading…
Cancel
Save