[PATCH] hw/sd: Remove unused header includes in ssi-sd.c

Bin Meng posted 1 patch 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20251110104311.1640772-1-bmeng.cn@gmail.com
Maintainers: "Philippe Mathieu-Daudé" <philmd@linaro.org>, Bin Meng <bmeng.cn@gmail.com>
hw/sd/ssi-sd.c | 4 ----
1 file changed, 4 deletions(-)
[PATCH] hw/sd: Remove unused header includes in ssi-sd.c
Posted by Bin Meng 1 month ago
Remove these header files which are not used by ssi-sd.c

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

---

 hw/sd/ssi-sd.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/hw/sd/ssi-sd.c b/hw/sd/ssi-sd.c
index 3aacbd0387..1782fb7431 100644
--- a/hw/sd/ssi-sd.c
+++ b/hw/sd/ssi-sd.c
@@ -16,14 +16,10 @@
  */
 
 #include "qemu/osdep.h"
-#include "system/blockdev.h"
 #include "hw/ssi/ssi.h"
 #include "migration/vmstate.h"
-#include "hw/qdev-properties.h"
 #include "hw/sd/sd.h"
-#include "qapi/error.h"
 #include "qemu/crc-ccitt.h"
-#include "qemu/module.h"
 #include "qom/object.h"
 
 //#define DEBUG_SSI_SD 1
-- 
2.34.1
Re: [PATCH] hw/sd: Remove unused header includes in ssi-sd.c
Posted by Philippe Mathieu-Daudé 3 weeks, 4 days ago
On 10/11/25 11:43, Bin Meng wrote:
> Remove these header files which are not used by ssi-sd.c
> 
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> 
> ---
> 
>   hw/sd/ssi-sd.c | 4 ----
>   1 file changed, 4 deletions(-)

Queued, thanks.
Re: [PATCH] hw/sd: Remove unused header includes in ssi-sd.c
Posted by Philippe Mathieu-Daudé 1 month ago
On 10/11/25 11:43, Bin Meng wrote:
> Remove these header files which are not used by ssi-sd.c
> 
> Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
> 
> ---
> 
>   hw/sd/ssi-sd.c | 4 ----
>   1 file changed, 4 deletions(-)

Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>