diff options
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_lib.c')
-rw-r--r-- | drivers/net/ethernet/intel/ice/ice_lib.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/ice/ice_lib.c b/drivers/net/ethernet/intel/ice/ice_lib.c index 947730d74612..83d0aef7f77e 100644 --- a/drivers/net/ethernet/intel/ice/ice_lib.c +++ b/drivers/net/ethernet/intel/ice/ice_lib.c | |||
@@ -1616,7 +1616,11 @@ int ice_vsi_kill_vlan(struct ice_vsi *vsi, u16 vid) | |||
1616 | list_add(&list->list_entry, &tmp_add_list); | 1616 | list_add(&list->list_entry, &tmp_add_list); |
1617 | 1617 | ||
1618 | status = ice_remove_vlan(&pf->hw, &tmp_add_list); | 1618 | status = ice_remove_vlan(&pf->hw, &tmp_add_list); |
1619 | if (status) { | 1619 | if (status == ICE_ERR_DOES_NOT_EXIST) { |
1620 | dev_dbg(&pf->pdev->dev, | ||
1621 | "Failed to remove VLAN %d on VSI %i, it does not exist, status: %d\n", | ||
1622 | vid, vsi->vsi_num, status); | ||
1623 | } else if (status) { | ||
1620 | dev_err(&pf->pdev->dev, | 1624 | dev_err(&pf->pdev->dev, |
1621 | "Error removing VLAN %d on vsi %i error: %d\n", | 1625 | "Error removing VLAN %d on vsi %i error: %d\n", |
1622 | vid, vsi->vsi_num, status); | 1626 | vid, vsi->vsi_num, status); |