]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: Do not return error code in TC Initialization
authorJose Abreu <Jose.Abreu@synopsys.com>
Wed, 4 Sep 2019 13:16:55 +0000 (15:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Sep 2019 10:19:54 +0000 (12:19 +0200)
commitb55f15ed69ac2d8a602629215121f080fa6b72fa
treec7638d7b1d4013f6788fec8fe46e26703a6fbbf9
parente22d50ab7e7ac87deb21b7705d4b26415e9b19e1
net: stmmac: Do not return error code in TC Initialization

As we can still use the remaining TC callbacks, e.g. CBS. We should not
fail in the initialization only because RX Parser is not available.

Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_tc.c