Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kernel/signal: remove unnecessary NULL values from ucounts

ucounts is assigned first, so it does not need to initialize the
assignment.

Link: https://lkml.kernel.org/r/20230926022410.4280-1-kunyu@nfschina.com
Signed-off-by: Li kunyu <kunyu@nfschina.com>
Acked-by: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

Li kunyu and committed by
Andrew Morton
a287116a a1cfa251

+1 -1
+1 -1
kernel/signal.c
··· 415 415 int override_rlimit, const unsigned int sigqueue_flags) 416 416 { 417 417 struct sigqueue *q = NULL; 418 - struct ucounts *ucounts = NULL; 418 + struct ucounts *ucounts; 419 419 long sigpending; 420 420 421 421 /*