aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/task.c
diff options
context:
space:
mode:
authorChuck Lever <[email protected]>2024-10-17 13:36:28 +0000
committerChuck Lever <[email protected]>2024-11-19 01:23:03 +0000
commite5948841285b1ad5bc3234a2f6d0586eceabfbdc (patch)
treef8459ae806fc2a3a6dd76c16fc931d346bf440dc /rust/helpers/task.c
parentlockd: Remove unused typedef (diff)
downloadkernel-e5948841285b1ad5bc3234a2f6d0586eceabfbdc.tar.gz
kernel-e5948841285b1ad5bc3234a2f6d0586eceabfbdc.zip
lockd: Remove unnecessary memset()
Since commit 103cc1fafee4 ("SUNRPC: Parametrize how much of argsize should be zeroed") (and possibly long before that, even) all of the memory underlying rqstp->rq_argp is zeroed already. There's no need for the memset() in nlm4svc_decode_shareargs(). Reviewed-by: Jeff Layton <[email protected]> Reviewed-by: NeilBrown <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'rust/helpers/task.c')
0 files changed, 0 insertions, 0 deletions