Skip to contentSkip to conversation

migration: Remove double set of bandwidth_limit in migrate_init

PATCH New Lei Li 1 participant 1 message May 24, 2013

lore
Share & tools
lore

Lei Li

author
#0 lore raw

PATCH 1/1 migration: Remove double set of bandwidth_limit in migrate_init

bandwidth_limit is double set in migrate_init(), so remove one.

---
 migration.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
migration.c +0 -1
index bfbc345..058f9e6 100644
@@ -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));
Signature · 1 line
1.7.7.6