diff options
author | zhengbin <zhengbin13@huawei.com> | 2019-11-19 09:14:30 +0300 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2020-08-24 18:31:32 +0300 |
commit | 738e6cad0ace88edec8f4ffa082749ad5df26409 (patch) | |
tree | 406c76ed686ef03509687dedabec99b65257c5bb /arch/powerpc/perf/imc-pmu.c | |
parent | 843dc8ee23d1b353fa9cc24da3e52be0111d5931 (diff) | |
download | linux-738e6cad0ace88edec8f4ffa082749ad5df26409.tar.xz |
powerpc/fadump: Remove set but not used variable 'elf'
Fix gcc '-Wunused-but-set-variable' warning:
arch/powerpc/kernel/fadump.c: In function fadump_update_elfcore_header:
arch/powerpc/kernel/fadump.c:790:17: warning: variable elf set but not used [-Wunused-but-set-variable]
It is introduced by commit ebaeb5ae2437 ("fadump:
Convert firmware-assisted cpu state dump data into elf notes."),
but never used, so remove it.
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: zhengbin <zhengbin13@huawei.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1574144074-142032-2-git-send-email-zhengbin13@huawei.com
Diffstat (limited to 'arch/powerpc/perf/imc-pmu.c')
0 files changed, 0 insertions, 0 deletions