mlxsw: reg: Remove unused function argument
authorIdo Schimmel <idosch@nvidia.com>
Tue, 25 Jul 2023 12:04:03 +0000 (14:04 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 Jul 2023 04:49:27 +0000 (21:49 -0700)
commit3930dcc5e404079d8aabe577f61742b7e9590811
tree90f5341b500deff590e560929fb49b3c055df313
parent7447eda4065e377e09d6ef9ecc8bf3219548d0ed
mlxsw: reg: Remove unused function argument

The 'lock' argument is always set to the default value of '0'. Remove it
from the arguments list.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Reviewed-by: Petr Machata <petrm@nvidia.com>
Signed-off-by: Petr Machata <petrm@nvidia.com>
Link: https://lore.kernel.org/r/fb5dd22830622ceeda1c2d6431c27fccd0687aca.1690281940.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/mellanox/mlxsw/core_env.c
drivers/net/ethernet/mellanox/mlxsw/reg.h