net/sched: act_api: unexport tcf_action_dump_1()
authorVladimir Oltean <vladimir.oltean@nxp.com>
Thu, 17 Oct 2024 16:19:34 +0000 (19:19 +0300)
committerPaolo Abeni <pabeni@redhat.com>
Wed, 23 Oct 2024 09:43:47 +0000 (11:43 +0200)
commit83c289e81e88d01e55d6d56531502ed7b4886a05
tree7a063e95baf58d2aa89075521fe16bb0bbc5e2cb
parent94fa523e20c3d6659fd0d3090a28f1c43582299e
net/sched: act_api: unexport tcf_action_dump_1()

This isn't used outside act_api.c, but is called by tcf_dump_walker()
prior to its definition. So move it upwards and make it static.

Simultaneously, reorder the variable declarations so that they follow
the networking "reverse Christmas tree" coding style.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Toke Høiland-Jørgensen <toke@redhat.com>
Link: https://patch.msgid.link/20241017161934.3599046-1-vladimir.oltean@nxp.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
include/net/act_api.h
net/sched/act_api.c