]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
chrt: remove redundant initializations to 0 in struct members
authorChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Mon, 27 Apr 2026 13:03:33 +0000 (09:03 -0400)
committerChristian Goeschel Ndjomouo <cgoesc2@wgu.edu>
Fri, 8 May 2026 18:02:46 +0000 (14:02 -0400)
Signed-off-by: Christian Goeschel Ndjomouo <cgoesc2@wgu.edu>
schedutils/chrt.c

index daed4589a82e03ad9497475dd931c34872129595..2be2ed9ceeabb689b8a346464900e938011b8552 100644 (file)
@@ -425,9 +425,6 @@ static void set_sched(struct chrt_ctl *ctl)
 int main(int argc, char **argv)
 {
        struct chrt_ctl _ctl = {
-               .parse_pid = 0,
-               .pid = 0,
-               .pidfd_ino = 0,
                .pidfd = -1,
                .policy = SCHED_RR
        }, *ctl = &_ctl;