]> git.baikalelectronics.ru Git - kernel.git/commit
signal: Hand SIGQUEUE_PREALLOC flag to __sigqueue_alloc()
authorThomas Gleixner <tglx@linutronix.de>
Mon, 22 Mar 2021 09:19:42 +0000 (10:19 +0100)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 14 Apr 2021 16:04:08 +0000 (18:04 +0200)
commit5643c9ef68ebc982331df366d2341bc8a82e0b1e
tree82fc1e24224c161faecca4d9667a8ac49eaf319f
parent838e63f2dd8b1dd2e0ed224039696d118fcaf8ca
signal: Hand SIGQUEUE_PREALLOC flag to __sigqueue_alloc()

There is no point in having the conditional at the callsite.

Just hand in the allocation mode flag to __sigqueue_alloc() and use it to
initialize sigqueue::flags.

No functional change.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Link: https://lkml.kernel.org/r/20210322092258.898677147@linutronix.de
kernel/signal.c