Commit ac382a09 authored by Bruce Allan's avatar Bruce Allan Committed by Jakub Kicinski

ice: remove repeated words

A new test in checkpatch detects repeated words; cleanup all pre-existing
occurrences of those now.
Signed-off-by: default avatarBruce Allan <bruce.w.allan@intel.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Co-developed-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 4d7ebed6
...@@ -4876,7 +4876,7 @@ ice_rem_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl) ...@@ -4876,7 +4876,7 @@ ice_rem_prof_id_flow(struct ice_hw *hw, enum ice_block blk, u16 vsi, u64 hdl)
if (last_profile) { if (last_profile) {
/* If there are no profiles left for this VSIG, /* If there are no profiles left for this VSIG,
* then simply remove the the VSIG. * then simply remove the VSIG.
*/ */
status = ice_rem_vsig(hw, blk, vsig, &chg); status = ice_rem_vsig(hw, blk, vsig, &chg);
if (status) if (status)
......
...@@ -385,7 +385,7 @@ ice_flow_xtract_fld(struct ice_hw *hw, struct ice_flow_prof_params *params, ...@@ -385,7 +385,7 @@ ice_flow_xtract_fld(struct ice_hw *hw, struct ice_flow_prof_params *params,
* ice_flow_xtract_raws - Create extract sequence entries for raw bytes * ice_flow_xtract_raws - Create extract sequence entries for raw bytes
* @hw: pointer to the HW struct * @hw: pointer to the HW struct
* @params: information about the flow to be processed * @params: information about the flow to be processed
* @seg: index of packet segment whose raw fields are to be be extracted * @seg: index of packet segment whose raw fields are to be extracted
*/ */
static enum ice_status static enum ice_status
ice_flow_xtract_raws(struct ice_hw *hw, struct ice_flow_prof_params *params, ice_flow_xtract_raws(struct ice_hw *hw, struct ice_flow_prof_params *params,
...@@ -999,7 +999,7 @@ enum ice_status ice_flow_rem_entry(struct ice_hw *hw, enum ice_block blk, ...@@ -999,7 +999,7 @@ enum ice_status ice_flow_rem_entry(struct ice_hw *hw, enum ice_block blk,
* *
* This helper function stores information of a field being matched, including * This helper function stores information of a field being matched, including
* the type of the field and the locations of the value to match, the mask, and * the type of the field and the locations of the value to match, the mask, and
* and the upper-bound value in the start of the input buffer for a flow entry. * the upper-bound value in the start of the input buffer for a flow entry.
* This function should only be used for fixed-size data structures. * This function should only be used for fixed-size data structures.
* *
* This function also opportunistically determines the protocol headers to be * This function also opportunistically determines the protocol headers to be
......
...@@ -2416,7 +2416,7 @@ int ice_destroy_xdp_rings(struct ice_vsi *vsi) ...@@ -2416,7 +2416,7 @@ int ice_destroy_xdp_rings(struct ice_vsi *vsi)
int i, v_idx; int i, v_idx;
/* q_vectors are freed in reset path so there's no point in detaching /* q_vectors are freed in reset path so there's no point in detaching
* rings; in case of rebuild being triggered not from reset reset bits * rings; in case of rebuild being triggered not from reset bits
* in pf->state won't be set, so additionally check first q_vector * in pf->state won't be set, so additionally check first q_vector
* against NULL * against NULL
*/ */
......
...@@ -871,7 +871,7 @@ static int ice_get_max_valid_res_idx(struct ice_res_tracker *res) ...@@ -871,7 +871,7 @@ static int ice_get_max_valid_res_idx(struct ice_res_tracker *res)
* If there are not enough resources available, return an error. This should * If there are not enough resources available, return an error. This should
* always be caught by ice_set_per_vf_res(). * always be caught by ice_set_per_vf_res().
* *
* Return 0 on success, and -EINVAL when there are not enough MSIX vectors in * Return 0 on success, and -EINVAL when there are not enough MSIX vectors
* in the PF's space available for SR-IOV. * in the PF's space available for SR-IOV.
*/ */
static int ice_sriov_set_msix_res(struct ice_pf *pf, u16 num_msix_needed) static int ice_sriov_set_msix_res(struct ice_pf *pf, u16 num_msix_needed)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment