Patchwork migration.h: remove incoming_expected declarations

login
register
mail settings
Submitter Isaku Yamahata
Date Dec. 13, 2011, 3:40 a.m.
Message ID <7649482739064866ddfb50275b1fcfa43547b782.1323747574.git.yamahata@valinux.co.jp>
Download mbox | patch
Permalink /patch/130977/
State New
Headers show

Comments

Isaku Yamahata - Dec. 13, 2011, 3:40 a.m.
The variable is deleted by 1bcef683bf840a928d633755031ac572d5fdb851
So remove its declaration.

Cc: Luiz Capitulino <lcapitulino@redhat.com>
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
---
 migration.h |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
Luiz Capitulino - Dec. 13, 2011, 12:29 p.m.
On Tue, 13 Dec 2011 12:40:51 +0900
Isaku Yamahata <yamahata@valinux.co.jp> wrote:

> The variable is deleted by 1bcef683bf840a928d633755031ac572d5fdb851
> So remove its declaration.
> 
> Cc: Luiz Capitulino <lcapitulino@redhat.com>
> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>

Acked-by: Luiz Capitulino <lcapitulino@redhat.com>
> ---
>  migration.h |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)
> 
> diff --git a/migration.h b/migration.h
> index 999d60f..372b066 100644
> --- a/migration.h
> +++ b/migration.h
> @@ -81,8 +81,6 @@ uint64_t ram_bytes_total(void);
>  int ram_save_live(Monitor *mon, QEMUFile *f, int stage, void *opaque);
>  int ram_load(QEMUFile *f, void *opaque, int version_id);
>  
> -extern int incoming_expected;
> -
>  /**
>   * @migrate_add_blocker - prevent migration from proceeding
>   *
Stefan Hajnoczi - Dec. 14, 2011, 11:13 a.m.
On Tue, Dec 13, 2011 at 12:40:51PM +0900, Isaku Yamahata wrote:
> The variable is deleted by 1bcef683bf840a928d633755031ac572d5fdb851
> So remove its declaration.
> 
> Cc: Luiz Capitulino <lcapitulino@redhat.com>
> Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
> ---
>  migration.h |    2 --
>  1 files changed, 0 insertions(+), 2 deletions(-)

Thanks, applied to the trivial patches -next tree:
http://repo.or.cz/w/qemu/stefanha.git/shortlog/refs/heads/trivial-patches-next

Stefan

Patch

diff --git a/migration.h b/migration.h
index 999d60f..372b066 100644
--- a/migration.h
+++ b/migration.h
@@ -81,8 +81,6 @@  uint64_t ram_bytes_total(void);
 int ram_save_live(Monitor *mon, QEMUFile *f, int stage, void *opaque);
 int ram_load(QEMUFile *f, void *opaque, int version_id);
 
-extern int incoming_expected;
-
 /**
  * @migrate_add_blocker - prevent migration from proceeding
  *