Re: [Qemu-devel] [PATCH] migration: remove useless code

2016-04-18 Thread Dr. David Alan Gilbert
* Liang Li (liang.z...@intel.com) wrote: > page_buffer is set twice repeatedly, remove the previous set. > > Signed-off-by: Liang Li > --- > migration/ram.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/migration/ram.c b/migration/ram.c > index 3f05738..31d40f4

[Qemu-devel] [PATCH] migration: remove useless code

2016-04-18 Thread Liang Li
page_buffer is set twice repeatedly, remove the previous set. Signed-off-by: Liang Li --- migration/ram.c | 1 - 1 file changed, 1 deletion(-) diff --git a/migration/ram.c b/migration/ram.c index 3f05738..31d40f4 100644 --- a/migration/ram.c +++ b/migration/ram.c @@

Re: [Qemu-devel] [PATCH] migration: remove useless code.

2016-02-04 Thread Amit Shah
On (Wed) 27 Jan 2016 [14:11:05], Liang Li wrote: > Since 's->state' will be set in migrate_init(), there is no > need to set it before calling migrate_init(). The code and > the related comments can be removed. > > Signed-off-by: Liang Li > --- > migration/migration.c | 6

Re: [Qemu-devel] [PATCH] migration: remove useless code.

2016-01-27 Thread Dr. David Alan Gilbert
* Liang Li (liang.z...@intel.com) wrote: > Since 's->state' will be set in migrate_init(), there is no > need to set it before calling migrate_init(). The code and > the related comments can be removed. > > Signed-off-by: Liang Li > --- > migration/migration.c | 6 -- >

[Qemu-devel] [PATCH] migration: remove useless code.

2016-01-26 Thread Liang Li
Since 's->state' will be set in migrate_init(), there is no need to set it before calling migrate_init(). The code and the related comments can be removed. Signed-off-by: Liang Li --- migration/migration.c | 6 -- 1 file changed, 6 deletions(-) diff --git

Re: [Qemu-devel] [PATCH] migration: remove useless code.

2016-01-26 Thread Fam Zheng
On Wed, 01/27 14:11, Liang Li wrote: > Since 's->state' will be set in migrate_init(), there is no > need to set it before calling migrate_init(). The code and > the related comments can be removed. Reviewed-by: Fam Zheng > > Signed-off-by: Liang Li >