net: sched: use tcf_exts_has_actions in tcf_exts_exec
authorJiri Pirko <jiri@mellanox.com>
Fri, 4 Aug 2017 12:28:59 +0000 (14:28 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Aug 2017 18:21:23 +0000 (11:21 -0700)
commitaf69afc551eb9f9b1f2cc3295e2dfcdaa1dc948d
tree905acc037acfbe7f21d203711e0a209c9272cd25
parent3bcc0cec818fa969fe555b44443347211ed787a3
net: sched: use tcf_exts_has_actions in tcf_exts_exec

Use the tcf_exts_has_actions helper instead or directly testing
exts->nr_actions in tcf_exts_exec.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_cls.h