]> asedeno.scripts.mit.edu Git - linux.git/commit
net: sched: make tcf_chain_{get,put}() static
authorJiri Pirko <jiri@mellanox.com>
Wed, 1 Aug 2018 10:36:57 +0000 (12:36 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 1 Aug 2018 17:06:19 +0000 (10:06 -0700)
commit290b1c8b1a902c0902df9ec05577ab209296f345
tree67d6762dca4ee621c30a0fbc5d30d0eb30a2c7e1
parent5368140730e4a67169303edd3a13e31fd9b9d355
net: sched: make tcf_chain_{get,put}() static

These are no longer used outside of cls_api.c so make them static.
Move tcf_chain_flush() to avoid fwd declaration of tcf_chain_put().

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
v1->v2:
- new patch

Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/pkt_cls.h
net/sched/cls_api.c