Commit 93706c22ae for qemu.org
commit 93706c22aeab13fe4403c39f0e835b219e722aa6
Author: Emmanuel Blot <emmanuel.blot@free.fr>
Date: Thu Oct 15 11:27:51 2026 +0200
hw/i2c: pca954x: drop unused header inclusions
The qapi/error.h, hw/core/sysbus.h and qemu/module.h headers are
included but not used by i2c_mux_pca954x.c. Remove them.
Reviewed-by: Cédric Le Goater <clg@redhat.com>
Signed-off-by: Emmanuel Blot <emmanuel.blot@free.fr>
Link: https://lore.kernel.org/qemu-devel/20261015-bmc-minerva-v3-4-7d50c8a108e5@free.fr
Signed-off-by: Cédric Le Goater <clg@redhat.com>
diff --git a/hw/i2c/i2c_mux_pca954x.c b/hw/i2c/i2c_mux_pca954x.c
index c603446028..c8e75da8b2 100644
--- a/hw/i2c/i2c_mux_pca954x.c
+++ b/hw/i2c/i2c_mux_pca954x.c
@@ -15,15 +15,12 @@
*/
#include "qemu/osdep.h"
-#include "qapi/error.h"
#include "hw/i2c/i2c.h"
#include "hw/i2c/i2c_mux_pca954x.h"
#include "hw/i2c/smbus_slave.h"
#include "hw/core/qdev.h"
#include "hw/core/qdev-properties.h"
-#include "hw/core/sysbus.h"
#include "qemu/log.h"
-#include "qemu/module.h"
#include "qemu/queue.h"
#include "qom/object.h"
#include "trace.h"