]> git.baikalelectronics.ru Git - kernel.git/commitdiff
net: rps: fix uninitialized symbol warning
authorAshwanth Goli <ashwanth@codeaurora.org>
Tue, 13 Jun 2017 11:24:55 +0000 (16:54 +0530)
committerDavid S. Miller <davem@davemloft.net>
Tue, 13 Jun 2017 15:31:22 +0000 (11:31 -0400)
This patch fixes uninitialized symbol warning that
got introduced by the following commit
93c620f703d1 ("net: rps: send out pending IPI's on CPU hotplug")

Signed-off-by: Ashwanth Goli <ashwanth@codeaurora.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/dev.c

index 54bb8d99d26afcc1a9c5a56f1e8c2d1f6e06db98..6d60149287a1868cd65fcc55a4e29edd7611def3 100644 (file)
@@ -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();