* grub-core/mmap/efi/mmap.c (grub_mmap_unregister): Remove
set-but-not-used variable.
This commit is contained in:
parent
a826cc7d7e
commit
a8afc1d12c
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-03-31 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* grub-core/mmap/efi/mmap.c (grub_mmap_unregister): Remove
|
||||
set-but-not-used variable.
|
||||
|
||||
2011-03-31 Colin Watson <cjwatson@ubuntu.com>
|
||||
|
||||
* docs/grub.texi (Simple configuration): Be more explicit about
|
||||
|
|
|
@ -194,7 +194,6 @@ grub_mmap_unregister (int handle)
|
|||
{
|
||||
struct overlay *curover, *prevover;
|
||||
grub_efi_boot_services_t *b;
|
||||
grub_efi_status_t status;
|
||||
|
||||
b = grub_efi_system_table->boot_services;
|
||||
|
||||
|
@ -204,7 +203,7 @@ grub_mmap_unregister (int handle)
|
|||
{
|
||||
if (curover->handle == handle)
|
||||
{
|
||||
status = efi_call_2 (b->free_pages, curover->address, curover->pages);
|
||||
efi_call_2 (b->free_pages, curover->address, curover->pages);
|
||||
if (prevover != 0)
|
||||
prevover->next = curover->next;
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue