Skip to contentSkip to conversation

hw/s390x: Remove unused macro VMSTATE_ADAPTER_ROUTES

PATCH In review Thomas Huth 3 participants 3 messages May 27, 2024 – May 28, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hw/s390x: Remove unused macro VMSTATE_ADAPTER_ROUTES

It's not used anywhere, so let's simply remove it.

---
 include/hw/s390x/s390_flic.h | 3 ---
 1 file changed, 3 deletions(-)
include/hw/s390x/s390_flic.h +0 -3
index bcb081def5..382d9833f1 100644
@@ -35,9 +35,6 @@ typedef struct AdapterRoutes {
 
 extern const VMStateDescription vmstate_adapter_routes;
 
-#define VMSTATE_ADAPTER_ROUTES(_f, _s) \
-    VMSTATE_STRUCT(_f, _s, 1, vmstate_adapter_routes, AdapterRoutes)
-
 #define TYPE_S390_FLIC_COMMON "s390-flic"
 OBJECT_DECLARE_TYPE(S390FLICState, S390FLICStateClass,
                     S390_FLIC_COMMON)
Signature · 1 line
2.45.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 3 lines · Thomas Huth

It's not used anywhere, so let's simply remove it.

Thanks,

C.

Quoted 18 lines
---
  include/hw/s390x/s390_flic.h | 3 ---
  1 file changed, 3 deletions(-)
include/hw/s390x/s390_flic.h +0 -3
index bcb081def5..382d9833f1 100644
@@ -35,9 +35,6 @@ typedef struct AdapterRoutes {
 
  extern const VMStateDescription vmstate_adapter_routes;
 
-#define VMSTATE_ADAPTER_ROUTES(_f, _s) \
-    VMSTATE_STRUCT(_f, _s, 1, vmstate_adapter_routes, AdapterRoutes)
-
  #define TYPE_S390_FLIC_COMMON "s390-flic"
  OBJECT_DECLARE_TYPE(S390FLICState, S390FLICStateClass,
                      S390_FLIC_COMMON)