qed: remove pointless call to devlink_param_driverinit_value_set()
authorJiri Pirko <jiri@nvidia.com>
Thu, 26 Jan 2023 07:58:32 +0000 (08:58 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Jan 2023 12:32:02 +0000 (12:32 +0000)
commit6fd6eda0e65d127872667054edd92e01c64f990a
tree7c0854ad536128a68ceaa75e0edf49d75695e434
parent2fc631b5d75d442b18c729830eb7cbaccc14c55a
qed: remove pointless call to devlink_param_driverinit_value_set()

devlink_param_driverinit_value_set() call makes sense only for "
driverinit" params. However here, the param is "runtime".
devlink_param_driverinit_value_set() returns -EOPNOTSUPP in such case
and does not do anything. So remove the pointless call 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/qlogic/qed/qed_devlink.c