remove unused variable skb in dev_deactivate_queue function
Subsystems (3)
PATCH 1/1 remove unused variable skb in dev_deactivate_queue function
Subject: [SCHED] remove unused variable skb in dev_deactivate_queue function
From: Daniel Lezcano <[email protected]>
Removed unused variable 'skb' in the dev_deactivate_queue function
Signed-off-by Daniel Lezcano <[email protected]>
--- net/sched/sch_generic.c | 3 --- 1 file changed, 3 deletions(-)
net/sched/sch_generic.c +0 -3
@@ -576,7 +576,6 @@ static void dev_deactivate_queue(struct 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(structspin_unlock_bh (qdisc_lock (qdisc)); } - -kfree_skb (skb); }static bool some_qdisc_is_running (struct net_device *dev,int lock)
From: Daniel Lezcano <[email protected]>
Date: Mon, 21 Jul 2008 18:01:31 +0200
Quoted 5 lines
[SCHED] remove unused variable skb in
dev_deactivate_queuefunctionRemoved unused variable 'skb' in the
dev_deactivate_queuefunctionSigned-off-by Daniel Lezcano <[email protected]>
Applied, thanks Daniel.
Please use "subsystem_in_lowercase: Foo bar baz." format for commit header lines in the future.
Thanks again.