Message ID | 20240527121351.211266-1-thuth@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | hw/s390x: Remove unused macro VMSTATE_ADAPTER_ROUTES | expand |
On 5/27/24 14:13, Thomas Huth wrote: > It's not used anywhere, so let's simply remove it. > > Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Cédric Le Goater <clg@redhat.com> Thanks, C. > --- > include/hw/s390x/s390_flic.h | 3 --- > 1 file changed, 3 deletions(-) > > diff --git a/include/hw/s390x/s390_flic.h b/include/hw/s390x/s390_flic.h > index bcb081def5..382d9833f1 100644 > --- a/include/hw/s390x/s390_flic.h > +++ b/include/hw/s390x/s390_flic.h > @@ -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)
On Mon, 2024-05-27 at 14:13 +0200, Thomas Huth wrote: > It's not used anywhere, so let's simply remove it. > > Signed-off-by: Thomas Huth <thuth@redhat.com> > --- > include/hw/s390x/s390_flic.h | 3 --- > 1 file changed, 3 deletions(-) Reviewed-by: Eric Farman <farman@linux.ibm.com>
diff --git a/include/hw/s390x/s390_flic.h b/include/hw/s390x/s390_flic.h index bcb081def5..382d9833f1 100644 --- a/include/hw/s390x/s390_flic.h +++ b/include/hw/s390x/s390_flic.h @@ -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)
It's not used anywhere, so let's simply remove it. Signed-off-by: Thomas Huth <thuth@redhat.com> --- include/hw/s390x/s390_flic.h | 3 --- 1 file changed, 3 deletions(-)