Skip to content

Commit

Permalink
s390/crashdump: remove unused variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Heiko Carstens authored and Martin Schwidefsky committed Oct 24, 2013
1 parent 72b7fb5 commit 5ff4212
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion arch/s390/kernel/crash_dump.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 5ff4212

Please sign in to comment.