From: Heiko Carstens Date: Thu, 10 Oct 2013 14:50:55 +0000 (+0200) Subject: s390/crashdump: remove unused variable X-Git-Tag: firefly_0821_release~176^2~5053^2~32 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5ff4212f194f97b3a0f41745f231525c5c50dcbb;p=firefly-linux-kernel-4.4.55.git s390/crashdump: remove unused variable Get rid of this compile warning: arch/s390/kernel/crash_dump.c: In function 'copy_from_realmem': arch/s390/kernel/crash_dump.c:48:6: warning: unused variable 'rc' [-Wunused-variable] int rc; ^ Signed-off-by: Heiko Carstens Signed-off-by: Martin Schwidefsky --- diff --git a/arch/s390/kernel/crash_dump.c b/arch/s390/kernel/crash_dump.c index 7dd21720e5b0..3db6af0601a5 100644 --- a/arch/s390/kernel/crash_dump.c +++ b/arch/s390/kernel/crash_dump.c @@ -45,7 +45,6 @@ static inline void *load_real_addr(void *addr) static int copy_from_realmem(void *dest, void *src, size_t count) { unsigned long size; - int rc; if (!count) return 0;