OSDN Git Service

mlxsw: Move fw_load_policy devlink param into core.c
authorJiri Pirko <jiri@nvidia.com>
Tue, 15 Sep 2020 08:40:54 +0000 (11:40 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 15 Sep 2020 22:57:16 +0000 (15:57 -0700)
commit703db0ceb8057e42d653f2dead55f31aff173c28
tree351ac777bfb4d516c27808665cdea982e171b383
parent1fb0a49562743ae6d9715d8497c33325007a19c8
mlxsw: Move fw_load_policy devlink param into core.c

As the fw flashing code was moved to core.c, move the param which is
related to it there as well. Remove unnecessary parentheses on the way.

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