On Sat, 09 Mar 2024 09:24:27 +0100, Christophe JAILLET wrote:
> There is no need to call memset(..., 0, ...) on memory allocated by
> kcalloc(). It is already zeroed.
>
> Remove the redundant call.
>
>
Applied to for-next/pstore, thanks!
[1/1] pstore/zone: Don't clear memory twice
https:
There is no need to call memset(..., 0, ...) on memory allocated by
kcalloc(). It is already zeroed.
Remove the redundant call.
Signed-off-by: Christophe JAILLET
---
fs/pstore/zone.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/fs/pstore/zone.c b/fs/pstore/zone.c
index abca117725c8..694db