Commit 059ff70c authored by Peng Li's avatar Peng Li Committed by David S. Miller

net: i40e: remove repeated words

Remove repeated words "to" and "try".
Signed-off-by: default avatarPeng Li <lipeng321@huawei.com>
Signed-off-by: default avatarHuazhong Tan <tanhuazhong@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cf5b15ab
...@@ -7339,7 +7339,7 @@ static void i40e_vsi_set_default_tc_config(struct i40e_vsi *vsi) ...@@ -7339,7 +7339,7 @@ static void i40e_vsi_set_default_tc_config(struct i40e_vsi *vsi)
qcount = min_t(int, vsi->alloc_queue_pairs, qcount = min_t(int, vsi->alloc_queue_pairs,
i40e_pf_get_max_q_per_tc(vsi->back)); i40e_pf_get_max_q_per_tc(vsi->back));
for (i = 0; i < I40E_MAX_TRAFFIC_CLASS; i++) { for (i = 0; i < I40E_MAX_TRAFFIC_CLASS; i++) {
/* For the TC that is not enabled set the offset to to default /* For the TC that is not enabled set the offset to default
* queue and allocate one queue for the given TC. * queue and allocate one queue for the given TC.
*/ */
vsi->tc_config.tc_info[i].qoffset = 0; vsi->tc_config.tc_info[i].qoffset = 0;
...@@ -10625,7 +10625,7 @@ static void i40e_rebuild(struct i40e_pf *pf, bool reinit, bool lock_acquired) ...@@ -10625,7 +10625,7 @@ static void i40e_rebuild(struct i40e_pf *pf, bool reinit, bool lock_acquired)
* need to rebuild the switch model in the HW. * need to rebuild the switch model in the HW.
* *
* If there were VEBs but the reconstitution failed, we'll try * If there were VEBs but the reconstitution failed, we'll try
* try to recover minimal use by getting the basic PF VSI working. * to recover minimal use by getting the basic PF VSI working.
*/ */
if (vsi->uplink_seid != pf->mac_seid) { if (vsi->uplink_seid != pf->mac_seid) {
dev_dbg(&pf->pdev->dev, "attempting to rebuild switch\n"); dev_dbg(&pf->pdev->dev, "attempting to rebuild switch\n");
......
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