]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: xgmac: Fix missing return
authorJose Abreu <Jose.Abreu@synopsys.com>
Fri, 10 Jan 2020 15:13:34 +0000 (16:13 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Jan 2020 19:29:44 +0000 (11:29 -0800)
commit92b761442f36217b4591e60325dbe7937ad8a91f
tree60d5fb6a38df530081f61cdd5a2a0828cefff246
parent1e56c32f7fb0ff0415002f70865ceff1d4d18237
net: stmmac: xgmac: Fix missing return

If FPE is supposed to be disabled we need to return after disabling it.

Fixes: 45beb381d26c ("net: stmmac: xgmac3+: Add support for Frame Preemption")
Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c