act_police: remove unnecessary null pointer check
authorYang Yingliang <yangyingliang@huawei.com>
Tue, 17 Dec 2013 07:29:16 +0000 (15:29 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Dec 2013 20:06:55 +0000 (15:06 -0500)
commit3b69a4c9becde783cd89758075780f9d871ba4b6
tree550702526757e4fee010f8cd447c82db5ac5868a
parentd2adcaa82d0c9d6423afcbfcb68658ff86794c29
act_police: 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/act_police.c