[PATCH] hw/s390x: Remove unused macro VMSTATE_ADAPTER_ROUTES

Thomas Huth posted 1 patch 1 year, 10 months ago
include/hw/s390x/s390_flic.h | 3 ---
1 file changed, 3 deletions(-)
[PATCH] hw/s390x: Remove unused macro VMSTATE_ADAPTER_ROUTES
Posted by Thomas Huth 1 year, 10 months ago
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(-)

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)
-- 
2.45.1
Re: [PATCH] hw/s390x: Remove unused macro VMSTATE_ADAPTER_ROUTES
Posted by Eric Farman 1 year, 10 months ago
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>
Re: [PATCH] hw/s390x: Remove unused macro VMSTATE_ADAPTER_ROUTES
Posted by Cédric Le Goater 1 year, 10 months ago
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)