summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>2022-03-23 07:32:05 +0100
committerSteve French <stfrench@microsoft.com>2022-03-30 08:17:53 -0500
commit56b401fb0c506120f25c1b4feeb96d9117efe171 (patch)
treec13ea459fa4f61f7f4e8df47f0b58690c94b2bbc /security
parent99e2aee3f925aab540b1675c8a8beb951e764f9e (diff)
downloadlwn-56b401fb0c506120f25c1b4feeb96d9117efe171.tar.gz
lwn-56b401fb0c506120f25c1b4feeb96d9117efe171.zip
ksmbd: Remove a redundant zeroing of memory
fill_transform_hdr() has only one caller that already clears tr_buf (it is kzalloc'ed). So there is no need to clear it another time here. Remove the superfluous memset() and add a comment to remind that the caller must clear the buffer. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Acked-by: Hyunchul Lee <hyc.lee@gmail.com> Acked-by: Namjae Jeon <linkinjeon@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions