summaryrefslogtreecommitdiffstats
path: root/drivers/net/team
diff options
context:
space:
mode:
authorMarkus Schneider-Pargmann <msp@baylibre.com>2022-12-06 12:57:19 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2022-12-12 11:58:32 +0100
commit57757937974988dc8feb7cf66b17dca72bca813b (patch)
tree8fbe04f4120714554ac69537a7d8403e2606e0a6 /drivers/net/team
parentc1eaf8b9bd3145d029446c927e1c9ce925dfe6a7 (diff)
downloadlinux-57757937974988dc8feb7cf66b17dca72bca813b.tar.bz2
can: m_can: Avoid reading irqstatus twice
For peripheral devices the m_can_rx_handler is called directly after setting cdev->irqstatus. This means we don't have to read the irqstatus again in m_can_rx_handler. Avoid this by adding a parameter that is false for direct calls. Signed-off-by: Markus Schneider-Pargmann <msp@baylibre.com> Link: https://lore.kernel.org/all/20221206115728.1056014-3-msp@baylibre.com Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'drivers/net/team')
0 files changed, 0 insertions, 0 deletions