]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: core_env: Do not pass number of modules as argument
authorIdo Schimmel <idosch@nvidia.com>
Wed, 26 Jan 2022 10:30:30 +0000 (12:30 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Jan 2022 11:15:41 +0000 (11:15 +0000)
commit6af5f7b674e441c62a1be9a6cf2670054b3dafd3
tree7783c8d05600d0b3256cae53fcab63fc64e240c2
parent5c759fe24cdb777d8c5caf5cf3d5fa99dd70bc19
mlxsw: core_env: Do not pass number of modules as argument

The number of modules can be resolved from the first argument, so do not
pass it.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/core_env.c