arch_init: Clean up the duplicate variable 'len' defining in ram_load()
commit5ee6926582cca64238967b2d00d870265cdb10b8
authorzhanghailiang <zhang.zhanghailiang@huawei.com>
Fri, 15 May 2015 09:00:03 +0000 (15 17:00 +0800)
committerJuan Quintela <quintela@redhat.com>
Fri, 12 Jun 2015 04:42:34 +0000 (12 06:42 +0200)
treee646e2f410bada919a3b180a9e691ddb3ac35db3
parent7205c9ec525fe375dd34c0f116c36dc4aab4c0f7
arch_init: Clean up the duplicate variable 'len' defining in ram_load()

There are two places that define 'len' variable, It's OK for compiling,
but makes it difficult for reading.

Remove the local one which defined in the inside 'while' loop.

Signed-off-by: zhanghailiang <zhang.zhanghailiang@huawei.com>
Signed-off-by: Juan Quintela <quintela@redhat.com>
migration/ram.c