]> asedeno.scripts.mit.edu Git - linux.git/commit
sfc: avoid duplicate error handling code in 'efx_ef10_sriov_set_vf_mac()'
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Thu, 26 Dec 2019 15:02:24 +0000 (16:02 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 31 Dec 2019 01:52:21 +0000 (17:52 -0800)
commitdb99d5126fb9067c3123b40a33c9936235f059fa
tree997dfd1151f71e6a9b7cdac7b9e9efa1e1acb393
parentf278b99ca6b2d91a5744588d81bae297179b0d1f
sfc: avoid duplicate error handling code in 'efx_ef10_sriov_set_vf_mac()'

'eth_zero_addr()' is already called in the error handling path. This is
harmless, but there is no point in calling it twice, so remove one.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sfc/ef10_sriov.c