mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
pkt_sched: Remove unused variable skb in dev_deactivate_queue function.
Removed unused variable 'skb' in the dev_deactivate_queue function Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
fd24c4af6e
commit
c3ee84163e
1 changed files with 0 additions and 3 deletions
|
@ -576,7 +576,6 @@ static void dev_deactivate_queue(struct net_device *dev,
|
|||
void *_qdisc_default)
|
||||
{
|
||||
struct Qdisc *qdisc_default = _qdisc_default;
|
||||
struct sk_buff *skb = NULL;
|
||||
struct Qdisc *qdisc;
|
||||
|
||||
qdisc = dev_queue->qdisc;
|
||||
|
@ -588,8 +587,6 @@ static void dev_deactivate_queue(struct net_device *dev,
|
|||
|
||||
spin_unlock_bh(qdisc_lock(qdisc));
|
||||
}
|
||||
|
||||
kfree_skb(skb);
|
||||
}
|
||||
|
||||
static bool some_qdisc_is_running(struct net_device *dev, int lock)
|
||||
|
|
Loading…
Reference in a new issue