Commit 91d7a590 authored by Anirudh Venkataramanan's avatar Anirudh Venkataramanan Committed by Jeff Kirsher

ice: Use continue instead of an else block

For style consistency, use continue instead of an else block in
ice_pf_dcb_recfg.
Signed-off-by: default avatarAnirudh Venkataramanan <anirudh.venkataramanan@intel.com>
Tested-by: default avatarAndrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 8be92a76
...@@ -120,11 +120,13 @@ static void ice_pf_dcb_recfg(struct ice_pf *pf) ...@@ -120,11 +120,13 @@ static void ice_pf_dcb_recfg(struct ice_pf *pf)
tc_map = ICE_DFLT_TRAFFIC_CLASS; tc_map = ICE_DFLT_TRAFFIC_CLASS;
ret = ice_vsi_cfg_tc(pf->vsi[v], tc_map); ret = ice_vsi_cfg_tc(pf->vsi[v], tc_map);
if (ret) if (ret) {
dev_err(&pf->pdev->dev, dev_err(&pf->pdev->dev,
"Failed to config TC for VSI index: %d\n", "Failed to config TC for VSI index: %d\n",
pf->vsi[v]->idx); pf->vsi[v]->idx);
else continue;
}
ice_vsi_map_rings_to_vectors(pf->vsi[v]); ice_vsi_map_rings_to_vectors(pf->vsi[v]);
} }
} }
......
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