diff options
author | Caleb Sander Mateos <[email protected]> | 2024-08-15 11:15:40 -0600 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2024-08-20 17:13:40 +0200 |
commit | e68ac2b488495fa4d127d6105ce633849859957a (patch) | |
tree | e51967f78ada2e341c3c5f057ea757fd671724d2 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 24d02c4e53e2f02da16b2ae8a1bc92553110ca25 (diff) |
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 <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Jens Axboe <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions