diff options
author | Heiko Carstens <heiko.carstens@de.ibm.com> | 2011-05-23 04:24:25 -0400 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-05-23 04:24:28 -0400 |
commit | 7712f83aa904fef0d7d6e5ba7684c3272bddbb19 (patch) | |
tree | 39bf9b46fbe385eb7cb44118be12f6637b83659f /arch/s390/mm | |
parent | 66ceed5ad1318863c21710f316942bcefff8081c (diff) |
[S390] get rid of unused variables
Remove trivially unused variables as detected with -Wunused-but-set-variable.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/mm')
-rw-r--r-- | arch/s390/mm/extmem.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/s390/mm/extmem.c b/arch/s390/mm/extmem.c index 3cc95dd0a3a6..214dd7b23934 100644 --- a/arch/s390/mm/extmem.c +++ b/arch/s390/mm/extmem.c | |||
@@ -681,8 +681,6 @@ void | |||
681 | segment_save(char *name) | 681 | segment_save(char *name) |
682 | { | 682 | { |
683 | struct dcss_segment *seg; | 683 | struct dcss_segment *seg; |
684 | int startpfn = 0; | ||
685 | int endpfn = 0; | ||
686 | char cmd1[160]; | 684 | char cmd1[160]; |
687 | char cmd2[80]; | 685 | char cmd2[80]; |
688 | int i, response; | 686 | int i, response; |
@@ -698,8 +696,6 @@ segment_save(char *name) | |||
698 | goto out; | 696 | goto out; |
699 | } | 697 | } |
700 | 698 | ||
701 | startpfn = seg->start_addr >> PAGE_SHIFT; | ||
702 | endpfn = (seg->end) >> PAGE_SHIFT; | ||
703 | sprintf(cmd1, "DEFSEG %s", name); | 699 | sprintf(cmd1, "DEFSEG %s", name); |
704 | for (i=0; i<seg->segcnt; i++) { | 700 | for (i=0; i<seg->segcnt; i++) { |
705 | sprintf(cmd1+strlen(cmd1), " %lX-%lX %s", | 701 | sprintf(cmd1+strlen(cmd1), " %lX-%lX %s", |