Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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 <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>

authored by

Heiko Carstens and committed by
Martin Schwidefsky
5ff4212f 72b7fb5f

-1
-1
arch/s390/kernel/crash_dump.c
··· 45 45 static int copy_from_realmem(void *dest, void *src, size_t count) 46 46 { 47 47 unsigned long size; 48 - int rc; 49 48 50 49 if (!count) 51 50 return 0;