From: Ashwanth Goli Date: Tue, 13 Jun 2017 11:24:55 +0000 (+0530) Subject: net: rps: fix uninitialized symbol warning X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=97d8b6e3b8538198aefb0003342920a82e062147;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git net: rps: fix uninitialized symbol warning This patch fixes uninitialized symbol warning that got introduced by the following commit 773fc8f6e8d6 ("net: rps: send out pending IPI's on CPU hotplug") Signed-off-by: Ashwanth Goli Signed-off-by: David S. Miller --- diff --git a/net/core/dev.c b/net/core/dev.c index 54bb8d99d26a..6d60149287a1 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -8203,7 +8203,7 @@ static int dev_cpu_dead(unsigned int oldcpu) struct sk_buff **list_skb; struct sk_buff *skb; unsigned int cpu; - struct softnet_data *sd, *oldsd, *remsd; + struct softnet_data *sd, *oldsd, *remsd = NULL; local_irq_disable(); cpu = smp_processor_id();