Commit c3ee8416 authored by Daniel Lezcano's avatar Daniel Lezcano Committed by David S. Miller

pkt_sched: Remove unused variable skb in dev_deactivate_queue function.

Removed unused variable 'skb' in the dev_deactivate_queue function
Signed-off-by: default avatarDaniel Lezcano <dlezcano@fr.ibm.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent fd24c4af
...@@ -576,7 +576,6 @@ static void dev_deactivate_queue(struct net_device *dev, ...@@ -576,7 +576,6 @@ static void dev_deactivate_queue(struct net_device *dev,
void *_qdisc_default) void *_qdisc_default)
{ {
struct Qdisc *qdisc_default = _qdisc_default; struct Qdisc *qdisc_default = _qdisc_default;
struct sk_buff *skb = NULL;
struct Qdisc *qdisc; struct Qdisc *qdisc;
qdisc = dev_queue->qdisc; qdisc = dev_queue->qdisc;
...@@ -588,8 +587,6 @@ static void dev_deactivate_queue(struct net_device *dev, ...@@ -588,8 +587,6 @@ static void dev_deactivate_queue(struct net_device *dev,
spin_unlock_bh(qdisc_lock(qdisc)); spin_unlock_bh(qdisc_lock(qdisc));
} }
kfree_skb(skb);
} }
static bool some_qdisc_is_running(struct net_device *dev, int lock) static bool some_qdisc_is_running(struct net_device *dev, int lock)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment