The variables are reassigned before their initial values are read. Drop
the redundant initializations.

Signed-off-by: Thorsten Blum <[email protected]>
---
 arch/powerpc/platforms/embedded6xx/mvme5100.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/platforms/embedded6xx/mvme5100.c 
b/arch/powerpc/platforms/embedded6xx/mvme5100.c
index b6b4d0581fa9..b8a59e147dfa 100644
--- a/arch/powerpc/platforms/embedded6xx/mvme5100.c
+++ b/arch/powerpc/platforms/embedded6xx/mvme5100.c
@@ -53,10 +53,10 @@ static void __init mvme5100_pic_init(void)
 {
        struct mpic *mpic;
        struct device_node *np;
-       struct device_node *cp = NULL;
+       struct device_node *cp;
        unsigned int cirq;
        unsigned long intack = 0;
-       const u32 *prop = NULL;
+       const u32 *prop;
 
        np = of_find_node_by_type(NULL, "open-pic");
        if (!np) {

Reply via email to