]> git.baikalelectronics.ru Git - kernel.git/commit
net: mscc: ocelot: stop returning IRQ_NONE in ocelot_xtr_irq_handler
authorVladimir Oltean <vladimir.oltean@nxp.com>
Sat, 13 Feb 2021 22:37:50 +0000 (00:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Feb 2021 01:31:43 +0000 (17:31 -0800)
commite6c2e9321a9ee37084205950b5f50ba7a6ac7b52
tree7f0b4d50bf019aa472f8dfef663841cc0913ae9f
parent116af071adee4e0434d032c2b0e59e1b5cc3107b
net: mscc: ocelot: stop returning IRQ_NONE in ocelot_xtr_irq_handler

Since the xtr (extraction) IRQ of the ocelot switch is not shared, then
if it fired, it means that some data must be present in the queues of
the CPU port module. So simplify the code.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mscc/ocelot_vsc7514.c