diff mbox series

hw/s390x: Remove unused macro VMSTATE_ADAPTER_ROUTES

Message ID 20240527121351.211266-1-thuth@redhat.com
State New
Headers show
Series hw/s390x: Remove unused macro VMSTATE_ADAPTER_ROUTES | expand

Commit Message

Thomas Huth May 27, 2024, 12:13 p.m. UTC
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(-)

Comments

Cédric Le Goater May 27, 2024, 12:17 p.m. UTC | #1
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)
Eric Farman May 28, 2024, 2:51 p.m. UTC | #2
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 mbox series

Patch

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)