mirror of
https://github.com/torvalds/linux.git
synced 2026-05-05 15:02:40 -04:00
softirq: Remove unused 'action' parameter from action callback
When soft interrupt actions are called, they are passed a pointer to the struct softirq action which contains the action's function pointer. This pointer isn't useful, as the action callback already knows what function it is. And since each callback handles a specific soft interrupt, the callback also knows which soft interrupt number is running. No soft interrupt action callback actually uses this parameter, so remove it from the function pointer signature. This clarifies that soft interrupt actions are global routines and makes it slightly cheaper to call them. Signed-off-by: Caleb Sander Mateos <csander@purestorage.com> Signed-off-by: Thomas Gleixner <tglx@linutronix.de> Reviewed-by: Jens Axboe <axboe@kernel.dk> Link: https://lore.kernel.org/all/20240815171549.3260003-1-csander@purestorage.com
This commit is contained in:
committed by
Thomas Gleixner
parent
24d02c4e53
commit
e68ac2b488
@@ -75,7 +75,7 @@ void irq_poll_complete(struct irq_poll *iop)
|
||||
}
|
||||
EXPORT_SYMBOL(irq_poll_complete);
|
||||
|
||||
static void __latent_entropy irq_poll_softirq(struct softirq_action *h)
|
||||
static void __latent_entropy irq_poll_softirq(void)
|
||||
{
|
||||
struct list_head *list = this_cpu_ptr(&blk_cpu_iopoll);
|
||||
int rearm = 0, budget = irq_poll_budget;
|
||||
|
||||
Reference in New Issue
Block a user