Skip to content
Commit 1e93d6f2 authored by Ethan Carter Edwards's avatar Ethan Carter Edwards Committed by Theodore Ts'o
Browse files

ext4: hash: simplify kzalloc(n * 1, ...) to kzalloc(n, ...)



sizeof(char) evaluates to 1. Remove the churn.

Signed-off-by: default avatarEthan Carter Edwards <ethan@ethancedwards.com>
Reviewed-by: default avatarAndreas Dilger <adilger@dilger.ca>
Link: https://patch.msgid.link/20250316-ext4-hash-kcalloc-v2-1-2a99e93ec6e0@ethancedwards.com


Signed-off-by: default avatarTheodore Ts'o <tytso@mit.edu>
parent aac45075
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment