summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorAshwanth Goli <ashwanth@codeaurora.org>2017-06-13 16:54:55 +0530
committerDavid S. Miller <davem@davemloft.net>2017-06-13 11:31:22 -0400
commit97d8b6e3b8538198aefb0003342920a82e062147 (patch)
tree47f4173d5474a2c0ae3ea03688a5d5dbdc8a0348 /net/core
parent6964e53f55837b0c49ed60d36656d2e0ee4fc27b (diff)
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 <ashwanth@codeaurora.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r--net/core/dev.c2
1 files changed, 1 insertions, 1 deletions
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();