diff options
author | Liang Li <liang.z.li@intel.com> | 2015-07-13 17:34:10 +0800 |
---|---|---|
committer | Juan Quintela <quintela@redhat.com> | 2015-07-15 12:21:28 +0200 |
commit | 9f5f380b54d6ad80cf35d93c8cd71c8d7a1b52b7 (patch) | |
tree | 83f006700918d86365571f29873403fa3f9c04a0 /migration/migration.c | |
parent | 48212d87d6655b029231d830a77983c21552fe49 (diff) |
migration: reduce the count of strlen call
'strlen' is called three times in 'save_page_header', it's
inefficient.
Signed-off-by: Liang Li <liang.z.li@intel.com>
Reviewed-by: Juan Quintela <quintela@redhat.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'migration/migration.c')
0 files changed, 0 insertions, 0 deletions