summaryrefslogtreecommitdiff
path: root/migration.c
diff options
context:
space:
mode:
authorLei Li <lilei@linux.vnet.ibm.com>2013-05-27 18:33:02 +0800
committerMichael Tokarev <mjt@tls.msk.ru>2013-06-01 14:25:38 +0400
commit12cd30e9c026e03db908785276057c5a3d912596 (patch)
tree5d4ff858d0aea42a81d697a9b582b408843ac68f /migration.c
parent7465dfeca065882c93424b23b14b2c9f31b16aa5 (diff)
migration: Remove duplicate bandwidth_limit set
bandwidth_limit is double set in migrate_init(), remove one. Signed-off-by: Lei Li <lilei@linux.vnet.ibm.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'migration.c')
-rw-r--r--migration.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/migration.c b/migration.c
index bfbc34544a..058f9e69f4 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));