diff options
| author | Sergey Shtylyov <[email protected]> | 2025-04-09 20:36:33 +0000 |
|---|---|---|
| committer | Trond Myklebust <[email protected]> | 2025-04-28 03:25:44 +0000 |
| commit | c367eea5041c2e5ef6836fe0ba8c5dc75a965b1b (patch) | |
| tree | e21335f22d1c1f9d0b9c2cbc24b2dd132b6bfb76 /rust/helpers/mutex.c | |
| parent | nfs: direct: drop useless initializer in nfs_direct_write_completion() (diff) | |
| download | kernel-c367eea5041c2e5ef6836fe0ba8c5dc75a965b1b.tar.gz kernel-c367eea5041c2e5ef6836fe0ba8c5dc75a965b1b.zip | |
nfs: nfs3acl: drop useless assignment in nfs3_get_acl()
In nfs3_get_acl(), the local variable status is assigned the result of
nfs_refresh_inode() inside the *switch* statement, but that value gets
overwritten in the next *if* statement's true branch and is completely
ignored if that branch isn't taken...
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
