Skip to content

Commit

Permalink
efi: delete unused varaibles
Browse files Browse the repository at this point in the history
efi/main.c: In function ‘find_addr’:
efi/main.c:527:9: warning: unused variable ‘addr’ [-Wunused-variable]
efi/main.c:524:13: warning: unused variable ‘status’ [-Wunused-variable]

Signed-off-by: Matt Fleming <[email protected]>
  • Loading branch information
Matt Fleming committed Jun 20, 2013
1 parent 95e63ba commit c32bd01
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions efi/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -521,10 +521,8 @@ static void find_addr(EFI_PHYSICAL_ADDRESS *first,
size_t size, size_t align)
{
EFI_MEMORY_DESCRIPTOR *map;
EFI_STATUS status;
UINT32 desc_ver;
UINTN i, nr_entries, key, desc_sz;
UINT64 addr;

map = get_memory_map(&nr_entries, &key, &desc_sz, &desc_ver);
if (!map)
Expand Down

0 comments on commit c32bd01

Please sign in to comment.