From: Jacob Keller Date: Mon, 27 Feb 2023 22:15:00 +0000 (-0800) Subject: ice: remove comment about not supporting driver reinit X-Git-Tag: v6.6.7~2736^2~188^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=503d473c983bf04b978d97f522e6039723caf224;p=platform%2Fkernel%2Flinux-starfive.git ice: remove comment about not supporting driver reinit Since commit 31c8db2c4fa7 ("ice: implement devlink reinit action"), the ice driver does support driver re-initialization via devlink reload. Remove the stale comment indicating that the driver lacks this support from the ice_devlink_ops structure. Signed-off-by: Jacob Keller Cc: Michal Swiatkowski Reviewed-by: Michal Swiatkowski Signed-off-by: Tony Nguyen --- diff --git a/drivers/net/ethernet/intel/ice/ice_devlink.c b/drivers/net/ethernet/intel/ice/ice_devlink.c index 05f216a..bc44cc2 100644 --- a/drivers/net/ethernet/intel/ice/ice_devlink.c +++ b/drivers/net/ethernet/intel/ice/ice_devlink.c @@ -1254,7 +1254,6 @@ static const struct devlink_ops ice_devlink_ops = { .supported_flash_update_params = DEVLINK_SUPPORT_FLASH_UPDATE_OVERWRITE_MASK, .reload_actions = BIT(DEVLINK_RELOAD_ACTION_DRIVER_REINIT) | BIT(DEVLINK_RELOAD_ACTION_FW_ACTIVATE), - /* The ice driver currently does not support driver reinit */ .reload_down = ice_devlink_reload_down, .reload_up = ice_devlink_reload_up, .port_split = ice_devlink_port_split,