In the function kimage_alloc_normal_control_page, the variables mfn and
emfn are defined but not used. Remove them.
Signed-off-by: Julien Grall <julien.grall@linaro.org>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
* destination page.
*/
do {
- unsigned long mfn, emfn;
paddr_t addr, eaddr;
page = kimage_alloc_zeroed_page(memflags);
if ( !page )
break;
- mfn = page_to_mfn(page);
- emfn = mfn + 1;
addr = page_to_maddr(page);
eaddr = addr + PAGE_SIZE;
if ( kimage_is_destination_range(image, addr, eaddr) )