ice: remove pointless calls to devlink_param_driverinit_value_set()
authorJiri Pirko <jiri@nvidia.com>
Thu, 26 Jan 2023 07:58:31 +0000 (08:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Jan 2023 12:32:02 +0000 (12:32 +0000)
commit2fc631b5d75d442b18c729830eb7cbaccc14c55a
tree5bc3f179a78b3b002e0f004d6a2b45085bb7de50
parentbb9bb6bfd1c37b1c0786248c2785536146603fa8
ice: remove pointless calls to devlink_param_driverinit_value_set()

devlink_param_driverinit_value_set() call makes sense only for
"driverinit" params. However here, both params are "runtime".
devlink_param_driverinit_value_set() returns -EOPNOTSUPP in such case
and does not do anything. So remove the pointless calls to
devlink_param_driverinit_value_set() entirely.

Signed-off-by: Jiri Pirko <jiri@nvidia.com>
Reviewed-by: Jakub Kicinski <kuba@kernel.org>
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ice/ice_devlink.c