diff options
| author | Christian Brauner <[email protected]> | 2023-11-22 12:48:23 +0000 |
|---|---|---|
| committer | Christian Brauner <[email protected]> | 2023-11-28 13:08:38 +0000 |
| commit | 3652117f854819a148ff0fbe4492587d3520b5e5 (patch) | |
| tree | af6b202558ccb43726b9ef5e279005cf6bec15a8 /arch/x86/kvm/xen.c | |
| parent | i915: make inject_virtual_interrupt() void (diff) | |
| download | kernel-3652117f854819a148ff0fbe4492587d3520b5e5.tar.gz kernel-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/[email protected]
Acked-by: Xu Yilun <[email protected]>
Acked-by: Andrew Donnellan <[email protected]> # ocxl
Acked-by: Eric Farman <[email protected]> # s390
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: Jens Axboe <[email protected]>
Signed-off-by: Christian Brauner <[email protected]>
Diffstat (limited to 'arch/x86/kvm/xen.c')
| -rw-r--r-- | arch/x86/kvm/xen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/xen.c b/arch/x86/kvm/xen.c index e53fad915a62..523bb6df5ac9 100644 --- a/arch/x86/kvm/xen.c +++ b/arch/x86/kvm/xen.c @@ -2088,7 +2088,7 @@ static bool kvm_xen_hcall_evtchn_send(struct kvm_vcpu *vcpu, u64 param, u64 *r) if (ret < 0 && ret != -ENOTCONN) return false; } else { - eventfd_signal(evtchnfd->deliver.eventfd.ctx, 1); + eventfd_signal(evtchnfd->deliver.eventfd.ctx); } *r = 0; |
