]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: dsa: use "extack" as argument to flow_action_basic_hw_stats_check()
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 23 Oct 2024 13:52:48 +0000 (16:52 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 31 Oct 2024 00:33:54 +0000 (17:33 -0700)
commitc11ace14d9db3a2e2e7b473ff8f79c7b1c998191
tree139186aea73a0503dfb8f0e2dc4ec00fa47280c6
parenta0af7162ccb501a22ac448ad94dad81757743725
net: dsa: use "extack" as argument to flow_action_basic_hw_stats_check()

We already have an "extack" stack variable in
dsa_user_add_cls_matchall_police() and
dsa_user_add_cls_matchall_mirred(), there is no need to retrieve
it again from cls->common.extack.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://patch.msgid.link/20241023135251.1752488-4-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/dsa/user.c