aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_subr.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2022-03-23 07:32:05 +0100
committerSteve French <[email protected]>2022-03-30 08:17:53 -0500
commit56b401fb0c506120f25c1b4feeb96d9117efe171 (patch)
treec13ea459fa4f61f7f4e8df47f0b58690c94b2bbc /net/lapb/lapb_subr.c
parent99e2aee3f925aab540b1675c8a8beb951e764f9e (diff)
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 <[email protected]> Acked-by: Hyunchul Lee <[email protected]> Acked-by: Namjae Jeon <[email protected]> Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions