sch_cbq: remove unnecessary null pointer check
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 17 Dec 2013 07:29:17 +0000 (15:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Dec 2013 20:06:55 +0000 (15:06 -0500)
commit79c11f2e3fd3e0e3594d4155821ef426153a773f
treea480220039767c512ff141c956b4b6f31d45076f
parent3b69a4c9becde783cd89758075780f9d871ba4b6
sch_cbq: remove unnecessary null pointer check

It already has a NULL pointer check of rtab in qdisc_put_rtab().
Remove the check outside of qdisc_put_rtab().

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/sch_cbq.c