hw/audio/virtio-snd: Remove unnecessary "exec/tswap.h" header
PATCH 1/1 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.
--- hw/audio/virtio-snd.c | 1 - 1 file changed, 1 deletion(-)
hw/audio/virtio-snd.c +0 -1
@@ -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"
Signature · 1 line
2.45.2
Quoted 25 lines · Philippe Mathieu-Daudé
We were including the "
exec/tswap.h" header to gettarget_words_bigendian()declaration, but since commita276ec8e26("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é <[email protected]>---
hw/audio/virtio-snd.c| 1 -1 file changed, 1 deletion(-)hw/audio/virtio-snd.c +0
-1@@ -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" Signature · 1 line
2.45.2
Quoted 9 lines · Philippe Mathieu-Daudé
We were including the "
exec/tswap.h" header to gettarget_words_bigendian()declaration, but since commita276ec8e26("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é<[email protected]>--- hw/audio/virtio-snd.c | 1 - 1 file changed, 1 deletion(-)
r~