qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] migration: Remove double set of bandwidth_limit in migrate_init
@ 2013-05-24  7:41 Lei Li
  0 siblings, 0 replies; only message in thread
From: Lei Li @ 2013-05-24  7:41 UTC (permalink / raw)
  To: qemu-devel; +Cc: Lei Li, quintela

bandwidth_limit is double set in migrate_init(), so remove one.
 
Signed-off-by: Lei Li <lilei@linux.vnet.ibm.com>
---
 migration.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/migration.c b/migration.c
index bfbc345..058f9e6 100644
--- a/migration.c
+++ b/migration.c
@@ -349,7 +349,6 @@ static MigrationState *migrate_init(const MigrationParams *params)
            sizeof(enabled_capabilities));
 
     memset(s, 0, sizeof(*s));
-    s->bandwidth_limit = bandwidth_limit;
     s->params = *params;
     memcpy(s->enabled_capabilities, enabled_capabilities,
            sizeof(enabled_capabilities));
-- 
1.7.7.6

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-24  7:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-24  7:41 [Qemu-devel] [PATCH] migration: Remove double set of bandwidth_limit in migrate_init Lei Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).