diff options
author | Colin Ian King <colin.i.king@gmail.com> | 2024-03-01 01:22:50 +0300 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@kernel.org> | 2024-03-25 03:34:35 +0300 |
commit | 10211b4a23cf4a3df5c11a10e5b3d371f16a906f (patch) | |
tree | e8d0c183bec22e0db59133b83c93bd31daeddda2 /scripts/gdb/linux/proc.py | |
parent | 11763a8598f888dec631a8a903f7ada32181001f (diff) | |
download | linux-10211b4a23cf4a3df5c11a10e5b3d371f16a906f.tar.xz |
fs/9p: remove redundant pointer v9ses
Pointer v9ses is being assigned the value from the return of inlined
function v9fs_inode2v9ses (which just returns inode->i_sb->s_fs_info).
The pointer is not used after the assignment, so the variable is
redundant and can be removed.
Cleans up clang scan warnings such as:
fs/9p/vfs_inode_dotl.c:300:28: warning: variable 'v9ses' set but not
used [-Wunused-but-set-variable]
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Reviewed-by: Dominique Martinet <asmadeus@codewreck.org>
Signed-off-by: Eric Van Hensbergen <ericvh@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions