diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-05-07 17:58:30 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2021-07-25 11:36:25 +0200 |
commit | 1e0d8e507ea42dd37f52636db300de7ea7118012 (patch) | |
tree | 2fff4a2145cea3ff38ed7a217a48b63efbe3143a /include/linux/can/rx-offload.h | |
parent | c757096ea1033c46ab768709847f7776b7e92a92 (diff) | |
download | linux-stable-1e0d8e507ea42dd37f52636db300de7ea7118012.tar.gz linux-stable-1e0d8e507ea42dd37f52636db300de7ea7118012.tar.bz2 linux-stable-1e0d8e507ea42dd37f52636db300de7ea7118012.zip |
can: rx-offload: can_rx_offload_irq_finish(): directly call napi_schedule()
Instead of calling can_rx_offload_schedule() call napi_schedule()
directly. As this was the last use of can_rx_offload_schedule() remove
this helper function.
Link: https://lore.kernel.org/r/20210724204745.736053-3-mkl@pengutronix.de
Tested-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'include/linux/can/rx-offload.h')
-rw-r--r-- | include/linux/can/rx-offload.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/can/rx-offload.h b/include/linux/can/rx-offload.h index d71c938e17d0..516f64df0ebc 100644 --- a/include/linux/can/rx-offload.h +++ b/include/linux/can/rx-offload.h @@ -53,11 +53,6 @@ void can_rx_offload_irq_finish(struct can_rx_offload *offload); void can_rx_offload_del(struct can_rx_offload *offload); void can_rx_offload_enable(struct can_rx_offload *offload); -static inline void can_rx_offload_schedule(struct can_rx_offload *offload) -{ - napi_schedule(&offload->napi); -} - static inline void can_rx_offload_disable(struct can_rx_offload *offload) { napi_disable(&offload->napi); |