linux-mips
[Top] [All Lists]

[patch 06/12] kexec-tools: mipsel: Remove unused variables from elf_mips

To: kexec@lists.infradead.org, linux-mips@linux-mips.org
Subject: [patch 06/12] kexec-tools: mipsel: Remove unused variables from elf_mipsel_load
From: Simon Horman <horms@verge.net.au>
Date: Thu, 06 Mar 2008 18:46:43 +0900
Cc: Tomasz Chmielewski <mangoo@wpkg.org>, Francesco Chiechi <francesco.chiechi@colibre.it>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20080306094637.669665743@vergenet.net>
Sender: linux-mips-bounce@linux-mips.org
User-agent: quilt/0.46-1
Signed-off-by: Simon Horman <horms@verge.net.au>

--- 

 kexec/arch/mipsel/kexec-elf-mipsel.c |    2 --
 1 file changed, 2 deletions(-)

Index: kexec-tools-mips/kexec/arch/mipsel/kexec-elf-mipsel.c
===================================================================
--- kexec-tools-mips.orig/kexec/arch/mipsel/kexec-elf-mipsel.c  2008-02-27 
19:17:47.000000000 +0900
+++ kexec-tools-mips/kexec/arch/mipsel/kexec-elf-mipsel.c       2008-02-27 
19:17:49.000000000 +0900
@@ -116,9 +116,7 @@ int elf_mipsel_load(int argc, char **arg
        int command_line_len;
        unsigned char *setup_start;
        uint32_t setup_size;
-       int result;
        int opt;
-       int i;
 #define OPT_APPEND     (OPT_ARCH_MAX+0)
        static const struct option options[] = {
                KEXEC_ARCH_OPTIONS

-- 

-- 
Horms


<Prev in Thread] Current Thread [Next in Thread>