signal: Remove task argument from dequeue_signal()
authorThomas Gleixner <tglx@linutronix.de>
Mon, 10 Jun 2024 16:42:33 +0000 (18:42 +0200)
committerFrederic Weisbecker <frederic@kernel.org>
Mon, 29 Jul 2024 19:57:35 +0000 (21:57 +0200)
commita2b80ce87a87fc18c594e74d13031d5e347b69cb
tree53ef5ae865ddea9255aeaf49f76ea8a1c18b6ed9
parent566e2d82536cf77b5ed7c03f887e7c36bf86feaa
signal: Remove task argument from dequeue_signal()

The task pointer which is handed to dequeue_signal() is always current. The
argument along with the first comment about signalfd in that function is
confusing at best. Remove it and use current internally.

Update the stale comment for dequeue_signal() while at it.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Frederic Weisbecker <frederic@kernel.org>
Reviewed-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
fs/signalfd.c
include/linux/sched/signal.h
kernel/signal.c