mirror of
https://github.com/torvalds/linux.git
synced 2026-07-30 19:21:28 +02:00
can: kvaser_pciefd: Add inline
Make the short function kvaser_pciefd_set_tx_irq inline. This function is effectively three lines long and therefore inlining it should be OK according to rule #15 of the Linux kernel coding style. Signed-off-by: Martin Jocic <martin.jocic@kvaser.com> Link: https://lore.kernel.org/all/20240614151524.2718287-5-martin.jocic@kvaser.com Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
parent
11d186697c
commit
0132a05df1
|
|
@ -550,7 +550,7 @@ static void kvaser_pciefd_disable_err_gen(struct kvaser_pciefd_can *can)
|
|||
spin_unlock_irqrestore(&can->lock, irq);
|
||||
}
|
||||
|
||||
static void kvaser_pciefd_set_tx_irq(struct kvaser_pciefd_can *can)
|
||||
static inline void kvaser_pciefd_set_tx_irq(struct kvaser_pciefd_can *can)
|
||||
{
|
||||
u32 msk;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user