]> git.baikalelectronics.ru Git - kernel.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)
commit62f76fe329847897ac8abbe9f9b7c26392db224d
tree997dfd1151f71e6a9b7cdac7b9e9efa1e1acb393
parentbb3635ca89605f7db122d602609713e40bb413af
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