diff options
author | Roy Franz <roy.franz@linaro.org> | 2013-09-22 15:45:42 -0700 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-06-16 21:18:36 +0100 |
commit | 5edf9a137d25f1b95866eaa7d9948b9b36e5776a (patch) | |
tree | 0a927d9e0dfd407955868b2dc7e1dcefb68de63d | |
parent | d16b1f8461c33f7ca9d047973756566d39eb30a9 (diff) |
efi: resolve warnings found on ARM compile
warnings from gcc:
warning: label 'free_pool' defined but not used [-Wunused-label]
warning: value computed is not used [-Wunused-value]
Signed-off-by: Roy Franz <roy.franz@linaro.org>
Signed-off-by: Matt Fleming <matt.fleming@intel.com>
(cherry picked from commit 4e283088bd9af0ff119d6e15bca81a83d6e8e30c)
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | drivers/firmware/efi/efi-stub-helper.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/firmware/efi/efi-stub-helper.c b/drivers/firmware/efi/efi-stub-helper.c index 4252d01089b2..cc0581daa9ed 100644 --- a/drivers/firmware/efi/efi-stub-helper.c +++ b/drivers/firmware/efi/efi-stub-helper.c @@ -170,7 +170,6 @@ again: *addr = max_addr; } -free_pool: efi_call_phys1(sys_table_arg->boottime->free_pool, map); fail: @@ -244,7 +243,6 @@ static efi_status_t efi_low_alloc(efi_system_table_t *sys_table_arg, if (i == map_size / desc_size) status = EFI_NOT_FOUND; -free_pool: efi_call_phys1(sys_table_arg->boottime->free_pool, map); fail: return status; @@ -360,7 +358,7 @@ static efi_status_t handle_cmdline_files(efi_system_table_t *sys_table_arg, if (*str == '/') { *p++ = '\\'; - *str++; + str++; } else { *p++ = *str++; } |