From: Philippe Mathieu-Daudé Date: Thu, 26 Sep 2024 10:21:13 +0000 (+0200) Subject: hw/audio/virtio-snd: Remove unnecessary "exec/tswap.h" header X-Git-Tag: v9.2.0-rc0~62^2~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7bd9b0b41df67680ee20437c4c8f857c847235bf;p=thirdparty%2Fqemu.git hw/audio/virtio-snd: Remove unnecessary "exec/tswap.h" header We were including the "exec/tswap.h" header to get target_words_bigendian() declaration, but since commit a276ec8e26 ("hw/audio/virtio-snd: Always use little endian audio format") removed this method call, we don't need this header anymore. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Manos Pitsidianakis Reviewed-by: Michael Tokarev Signed-off-by: Michael Tokarev --- diff --git a/hw/audio/virtio-snd.c b/hw/audio/virtio-snd.c index 69838181dd1..c5581d7b3df 100644 --- a/hw/audio/virtio-snd.c +++ b/hw/audio/virtio-snd.c @@ -20,7 +20,6 @@ #include "qemu/log.h" #include "qemu/error-report.h" #include "qemu/lockable.h" -#include "exec/tswap.h" #include "sysemu/runstate.h" #include "trace.h" #include "qapi/error.h"