sch_htb: remove unnecessary NULL pointer judgment
authorYang Yingliang <yangyingliang@huawei.com>
Wed, 11 Dec 2013 07:48:37 +0000 (15:48 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 11 Dec 2013 20:30:17 +0000 (15:30 -0500)
commit6b1dd8560179bd3328a3fb024ce1b63b772464fd
tree64216333ea0da07ce0914ab7e37b4dc222efcf3e
parentb601fa197fff265bf60eaf6950d4c194da080f4a
sch_htb: remove unnecessary NULL pointer judgment

It already has a NULL pointer judgment of rtab in qdisc_put_rtab().
Remove the judgment 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_htb.c