commit | 9fdaaac38e8c8a63c6383b807b91fea2d51da95d | [log] [tgz] |
---|---|---|
author | Laurent Vivier <Laurent.Vivier@bull.net> | Wed Aug 01 21:51:09 2007 +0300 |
committer | Avi Kivity <avi@qumranet.com> | Sat Oct 13 10:18:23 2007 +0200 |
tree | 57ec20214ff8c70ad256b0aabe1b8e6cd35267f7 | |
parent | 1e4e6e00136b82a5595de903c28912afee1178cb [diff] |
KVM: Remove useless assignment Line 1809 of kvm_main.c is useless, value is overwritten in line 1815: 1809 now = min(count, PAGE_SIZE / size); 1810 1811 if (!down) 1812 in_page = PAGE_SIZE - offset_in_page(address); 1813 else 1814 in_page = offset_in_page(address) + size; 1815 now = min(count, (unsigned long)in_page / size); 1816 if (!now) { Signed-off-by: Laurent Vivier <Laurent.Vivier@bull.net> Signed-off-by: Avi Kivity <avi@qumranet.com>