]> 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)
commita1ecde7456ebc67ed5dd511522a2327e86362f05
tree997dfd1151f71e6a9b7cdac7b9e9efa1e1acb393
parent5bd2eebb48f386014179463489440d99ea6fcadd
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