diff options
| author | Tony Nguyen <[email protected]> | 2021-10-07 22:58:01 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2021-12-14 18:19:13 +0000 |
| commit | d54699e27d506fcf6a27b336c5d8510d9701c86b (patch) | |
| tree | d2ab4efed1ec8402cddbdda12c6717758ad374c6 /drivers/net/ethernet/intel/ice/ice_fw_update.c | |
| parent | ice: Use int for ice_status (diff) | |
| download | kernel-d54699e27d506fcf6a27b336c5d8510d9701c86b.tar.gz kernel-d54699e27d506fcf6a27b336c5d8510d9701c86b.zip | |
ice: Remove enum ice_status
Replace uses of ice_status to, as equivalent as possible, error codes.
Remove enum ice_status and its helper conversion function as they are no
longer needed.
Signed-off-by: Tony Nguyen <[email protected]>
Tested-by: Gurucharan G <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_fw_update.c')
| -rw-r--r-- | drivers/net/ethernet/intel/ice/ice_fw_update.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_fw_update.c b/drivers/net/ethernet/intel/ice/ice_fw_update.c index 6e4102e3aef7..c6ed12cf36eb 100644 --- a/drivers/net/ethernet/intel/ice/ice_fw_update.c +++ b/drivers/net/ethernet/intel/ice/ice_fw_update.c @@ -670,7 +670,7 @@ int ice_flash_pldm_image(struct ice_pf *pf, const struct firmware *fw, struct device *dev = ice_pf_to_dev(pf); struct ice_hw *hw = &pf->hw; struct ice_fwu_priv priv; - enum ice_status status; + int status; int err; switch (preservation) { |
