diff options
author | Petr Tesarik <ptesarik@suse.cz> | 2021-04-26 15:29:51 +0200 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2021-05-02 12:00:47 +0200 |
commit | 5e7ce27626a44428c01e0e5ab3fe60ef98ca788c (patch) | |
tree | ebb88e00bf13a52bff53b364600fdb0fdf6241ce | |
parent | a2ba3cd65761320b4eb1a0b9f5a29ae3ca6a35e1 (diff) |
kexec-tools: Remove duplicate definition of ramdisk
The ramdisk variable is defined in kexec/arch/ppc/kexec-ppc.c. This
other definition is not needed and breaks build with -fno-common.
Signed-off-by: Petr Tesarik <ptesarik@suse.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
-rw-r--r-- | kexec/arch/ppc/kexec-elf-ppc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kexec/arch/ppc/kexec-elf-ppc.c b/kexec/arch/ppc/kexec-elf-ppc.c index ad43ad1..4a4886e 100644 --- a/kexec/arch/ppc/kexec-elf-ppc.c +++ b/kexec/arch/ppc/kexec-elf-ppc.c @@ -33,7 +33,6 @@ static const int probe_debug = 0; unsigned char reuse_initrd; -const char *ramdisk; int create_flatten_tree(struct kexec_info *, unsigned char **, unsigned long *, char *); |