qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 01/27] migration: Remove unneeded minimum_versio


From: Dr. David Alan Gilbert
Subject: Re: [Qemu-devel] [PATCH 01/27] migration: Remove unneeded minimum_version_id_old
Date: Tue, 17 Jun 2014 11:44:48 +0100
User-agent: Mutt/1.5.23 (2014-03-12)

* Juan Quintela (address@hidden) wrote:
> Once there, make checkpatch happy.
> 
> Signed-off-by: Juan Quintela <address@hidden>

Reviewed-by: Dr. David Alan Gilbert <address@hidden>

> ---
>  hw/usb/hcd-ohci.c | 7 ++-----
>  1 file changed, 2 insertions(+), 5 deletions(-)
> 
> diff --git a/hw/usb/hcd-ohci.c b/hw/usb/hcd-ohci.c
> index cd87074..cace945 100644
> --- a/hw/usb/hcd-ohci.c
> +++ b/hw/usb/hcd-ohci.c
> @@ -1988,8 +1988,7 @@ static const VMStateDescription vmstate_ohci_state_port 
> = {
>      .name = "ohci-core/port",
>      .version_id = 1,
>      .minimum_version_id = 1,
> -    .minimum_version_id_old = 1,
> -    .fields = (VMStateField []) {
> +    .fields = (VMStateField[]) {
>          VMSTATE_UINT32(ctrl, OHCIPort),
>          VMSTATE_END_OF_LIST()
>      },
> @@ -2015,9 +2014,8 @@ static const VMStateDescription vmstate_ohci_eof_timer 
> = {
>      .name = "ohci-core/eof-timer",
>      .version_id = 1,
>      .minimum_version_id = 1,
> -    .minimum_version_id_old = 1,
>      .pre_load = ohci_eof_timer_pre_load,
> -    .fields = (VMStateField []) {
> +    .fields = (VMStateField[]) {
>          VMSTATE_TIMER(eof_timer, OHCIState),
>          VMSTATE_END_OF_LIST()
>      },
> @@ -2078,7 +2076,6 @@ static const VMStateDescription vmstate_ohci = {
>      .name = "ohci",
>      .version_id = 1,
>      .minimum_version_id = 1,
> -    .minimum_version_id_old = 1,
>      .fields = (VMStateField[]) {
>          VMSTATE_PCI_DEVICE(parent_obj, OHCIPCIState),
>          VMSTATE_STRUCT(state, OHCIPCIState, 1, vmstate_ohci_state, 
> OHCIState),
> -- 
> 1.9.3
> 
> 
--
Dr. David Alan Gilbert / address@hidden / Manchester, UK



reply via email to

[Prev in Thread] Current Thread [Next in Thread]