summaryrefslogtreecommitdiff
path: root/rust/alloc/collections/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorWander Lairson Costa <wander@redhat.com>2026-01-06 08:49:45 -0300
committerTomas Glozar <tglozar@redhat.com>2026-01-07 15:57:55 +0100
commitd849f3af1cc7a53e3b150a9bbade8f9629445b36 (patch)
treea97087f41a56c00821cac2e1ca7adcdb7c909cdf /rust/alloc/collections/git@git.tavy.me:linux.git
parent9bf942f3c370c9b3af639df04cb5f34daf512dab (diff)
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>
Diffstat (limited to 'rust/alloc/collections/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions