i40e: Remove unnecessary assignment
Remove unnecessary setting of "ret" variable as it's already set at the top of the function. Change-ID: Icaccfc67f335817a23579b7c43625d59ad6c9925 Signed-off-by: Serey Kong <serey.kong@intel.com> Tested-by: Jim Young <jamesx.m.young@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
e6d9004d22
commit
356821a37d
1 changed files with 0 additions and 1 deletions
|
@ -2098,7 +2098,6 @@ int i40e_ndo_set_vf_mac(struct net_device *netdev, int vf_id, u8 *mac)
|
|||
/* Force the VF driver stop so it has to reload with new MAC address */
|
||||
i40e_vc_disable_vf(pf, vf);
|
||||
dev_info(&pf->pdev->dev, "Reload the VF driver to make this change effective.\n");
|
||||
ret = 0;
|
||||
|
||||
error_param:
|
||||
return ret;
|
||||
|
|
Loading…
Add table
Reference in a new issue