Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 356821a3 authored by Serey Kong's avatar Serey Kong Committed by Jeff Kirsher
Browse files

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: default avatarSerey Kong <serey.kong@intel.com>
Tested-by: default avatarJim Young <jamesx.m.young@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent e6d9004d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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;