[PATCH 6/6] powerpc/embedded6xx: Drop redundant initializations

From: Thorsten Blum

Date: Mon Nov 02 2026 - 11:57:02 EST


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

Signed-off-by: Thorsten Blum <blum@xxxxxxxxxx>
---
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) {