]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitae4c568f1969981da88bbe60a6ea1a7b539cb147
tree550702526757e4fee010f8cd447c82db5ac5868a
parentf15832de30a286a5854fa1bc953898f6b3c72dda
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