../kexec/arch/ppc64/crashdump-ppc64.c: In function ‘get_crash_memory_ranges’:
../kexec/arch/ppc64/crashdump-ppc64.c:186:6: warning: unused variable ‘i’ 
[-Wunused-variable]
  int i, n, crash_rng_len = 0;

Signed-off-by: Cédric Le Goater <[email protected]>
---
 kexec/arch/ppc64/crashdump-ppc64.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kexec/arch/ppc64/crashdump-ppc64.c 
b/kexec/arch/ppc64/crashdump-ppc64.c
index 71a09dbff17f..a3b56697c8db 100644
--- a/kexec/arch/ppc64/crashdump-ppc64.c
+++ b/kexec/arch/ppc64/crashdump-ppc64.c
@@ -184,7 +184,7 @@ static int get_crash_memory_ranges(struct memory_range 
**range, int *ranges)
        DIR *dir, *dmem;
        FILE *file;
        struct dirent *dentry, *mentry;
-       int i, n, crash_rng_len = 0;
+       int n, crash_rng_len = 0;
        unsigned long long start, end;
        int page_size;
 
-- 
1.7.10.4


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

Reply via email to