]> git.ipfire.org Git - thirdparty/linux.git/commit
rtla: Remove redundant memset after calloc
authorWander Lairson Costa <wander@redhat.com>
Tue, 6 Jan 2026 11:49:45 +0000 (08:49 -0300)
committerTomas Glozar <tglozar@redhat.com>
Wed, 7 Jan 2026 14:57:55 +0000 (15:57 +0100)
commitd849f3af1cc7a53e3b150a9bbade8f9629445b36
treea97087f41a56c00821cac2e1ca7adcdb7c909cdf
parent9bf942f3c370c9b3af639df04cb5f34daf512dab
rtla: Remove redundant memset after calloc

The actions struct is allocated using calloc, which already returns
zeroed memory. The subsequent memset call to zero the 'present' member
is therefore redundant.

Signed-off-by: Wander Lairson Costa <wander@redhat.com>
Link: https://lore.kernel.org/r/20260106133655.249887-10-wander@redhat.com
Signed-off-by: Tomas Glozar <tglozar@redhat.com>
tools/tracing/rtla/src/actions.c