diff options
| author | Sergey Shtylyov <[email protected]> | 2025-04-08 20:53:42 +0000 |
|---|---|---|
| committer | Trond Myklebust <[email protected]> | 2025-04-28 03:25:44 +0000 |
| commit | d82e86c15364d42706eb8b5249640a839d61a681 (patch) | |
| tree | 31e47da568d622be9f9b23bdce6f1418c5230590 /rust/helpers/mutex.c | |
| parent | nfs: move the nfs4_data_server_cache into struct nfs_net (diff) | |
| download | kernel-d82e86c15364d42706eb8b5249640a839d61a681.tar.gz kernel-d82e86c15364d42706eb8b5249640a839d61a681.zip | |
nfs: direct: drop useless initializer in nfs_direct_write_completion()
In nfs_direct_write_completion(), the local variable req isn't used outside
the *while* loop and is assigned to right at the start of that loop's body,
so its initializer appears useless -- drop it; then move the declaration to
the loop body (which happens to have a pointless empty line anyway)...
Found by Linux Verification Center (linuxtesting.org) with the Svace static
analysis tool.
Signed-off-by: Sergey Shtylyov <[email protected]>
Reviewed-by: Benjamin Coddington <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'rust/helpers/mutex.c')
0 files changed, 0 insertions, 0 deletions
