diff options
author | Christian Brauner <brauner@kernel.org> | 2023-11-22 13:48:23 +0100 |
---|---|---|
committer | Christian Brauner <brauner@kernel.org> | 2023-11-28 14:08:38 +0100 |
commit | 3652117f854819a148ff0fbe4492587d3520b5e5 (patch) | |
tree | af6b202558ccb43726b9ef5e279005cf6bec15a8 /drivers/misc/ocxl | |
parent | i915: make inject_virtual_interrupt() void (diff) | |
download | linux-3652117f854819a148ff0fbe4492587d3520b5e5.tar.xz linux-3652117f854819a148ff0fbe4492587d3520b5e5.zip |
eventfd: simplify eventfd_signal()
Ever since the eventfd type was introduced back in 2007 in commit
e1ad7468c77d ("signal/timer/event: eventfd core") the eventfd_signal()
function only ever passed 1 as a value for @n. There's no point in
keeping that additional argument.
Link: https://lore.kernel.org/r/20231122-vfs-eventfd-signal-v2-2-bd549b14ce0c@kernel.org
Acked-by: Xu Yilun <yilun.xu@intel.com>
Acked-by: Andrew Donnellan <ajd@linux.ibm.com> # ocxl
Acked-by: Eric Farman <farman@linux.ibm.com> # s390
Reviewed-by: Jan Kara <jack@suse.cz>
Reviewed-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Diffstat (limited to 'drivers/misc/ocxl')
-rw-r--r-- | drivers/misc/ocxl/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/misc/ocxl/file.c b/drivers/misc/ocxl/file.c index ac69b7f361f5..7eb74711ac96 100644 --- a/drivers/misc/ocxl/file.c +++ b/drivers/misc/ocxl/file.c @@ -184,7 +184,7 @@ static irqreturn_t irq_handler(void *private) { struct eventfd_ctx *ev_ctx = private; - eventfd_signal(ev_ctx, 1); + eventfd_signal(ev_ctx); return IRQ_HANDLED; } |