On 10/12/26 16:31, Emmanuel Blot wrote:
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.

Signed-off-by: Emmanuel Blot <[email protected]>
---
  hw/i2c/i2c_mux_pca954x.c | 3 ---
  1 file changed, 3 deletions(-)

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"


Reviewed-by: Cédric Le Goater <[email protected]>

Thanks,

C.


Reply via email to