net_sched: return nla_nest_end() instead of skb->len
authorYang Yingliang <yangyingliang@huawei.com>
Wed, 12 Mar 2014 02:20:32 +0000 (10:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Mar 2014 19:39:20 +0000 (15:39 -0400)
commitd59b7d8059ddc4f9ac1f0904d28ea62a252e8de7
tree7aa563d736287fe18daace9bbe0919c240715dab
parent31c14a97039f6706205648602c81426f878906d0
net_sched: return nla_nest_end() instead of skb->len

nla_nest_end() already has return skb->len, so replace
return skb->len with return nla_nest_end instead().

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_atm.c
net/sched/sch_cbq.c
net/sched/sch_fq.c
net/sched/sch_fq_codel.c
net/sched/sch_hfsc.c
net/sched/sch_hhf.c
net/sched/sch_ingress.c
net/sched/sch_tbf.c