]> 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)
commit873e34ffb0373915bc766997ae255aa9a047b534
treec7638d7b1d4013f6788fec8fe46e26703a6fbbf9
parent313315ccbc3ea405d911e5824049ea381d38abfa
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