]> git.baikalelectronics.ru Git - kernel.git/commit
net: mscc: ocelot: drop port argument from qos_policer_conf_set
authorVladimir Oltean <vladimir.oltean@nxp.com>
Tue, 3 May 2022 12:01:49 +0000 (15:01 +0300)
committerJakub Kicinski <kuba@kernel.org>
Thu, 5 May 2022 03:42:15 +0000 (20:42 -0700)
commit41118b784f8ca96d5e6d6b71493a0a7e35d8ff94
tree14c45c7f158a12bd175808b21c1886b91daf7b4f
parente743d9faac139925a036343682bf07613ccac249
net: mscc: ocelot: drop port argument from qos_policer_conf_set

The "port" argument is used for nothing else except printing on the
error path. Print errors on behalf of the policer index, which is less
confusing anyway.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mscc/ocelot_police.c
drivers/net/ethernet/mscc/ocelot_police.h
drivers/net/ethernet/mscc/ocelot_vcap.c