posix-timers: Drop redundant memset() invocation
authorCyrill Gorcunov <gorcunov@gmail.com>
Sun, 16 Mar 2025 19:58:15 +0000 (22:58 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 17 Mar 2025 09:38:49 +0000 (10:38 +0100)
commitd1c3a3f1c9a1dfc2b41696b7903972f4b3fbcd02
treecb47ebd1f8018452b6ac3fc6acacd88de9d2d6fb
parent8e63360d869913265e5e4b623dcd23feff9fd000
posix-timers: Drop redundant memset() invocation

Initially in commit 6891c4509c79 memset() was required to clear a variable
allocated on stack. Commit 2482097c6c0f removed the on stack variable and
retained the memset() despite the fact that the memory is allocated via
kmem_cache_zalloc() and therefore zereoed already.

Drop the redundant memset().

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/all/Z9ctVxwaYOV4A2g4@grain
kernel/time/posix-timers.c