]> Git Repo - qemu.git/blobdiff - hw/ssi/stm32f2xx_spi.c
pc: simplify MachineClass::get_hotplug_handler handling
[qemu.git] / hw / ssi / stm32f2xx_spi.c
index 26a1b4ddf55782c3119497f56cd0577330a8e43f..930c616de3e65aab8921f468e02b37ef9dc520af 100644 (file)
@@ -23,7 +23,6 @@
  */
 
 #include "qemu/osdep.h"
-#include "qapi/error.h"
 #include "qemu/log.h"
 #include "hw/ssi/stm32f2xx_spi.h"
 
@@ -35,7 +34,7 @@
     if (STM_SPI_ERR_DEBUG >= lvl) { \
         qemu_log("%s: " fmt, __func__, ## args); \
     } \
-} while (0);
+} while (0)
 
 #define DB_PRINT(fmt, args...) DB_PRINT_L(1, fmt, ## args)
 
This page took 0.025047 seconds and 4 git commands to generate.