summaryrefslogtreecommitdiffstats
path: root/.clang-format
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2024-02-29 23:22:50 +0100
committerEric Van Hensbergen <ericvh@kernel.org>2024-03-25 01:34:35 +0100
commit10211b4a23cf4a3df5c11a10e5b3d371f16a906f (patch)
treee8d0c183bec22e0db59133b83c93bd31daeddda2 /.clang-format
parentfs/9p: fix uaf in in v9fs_stat2inode_dotl (diff)
downloadlinux-10211b4a23cf4a3df5c11a10e5b3d371f16a906f.tar.xz
linux-10211b4a23cf4a3df5c11a10e5b3d371f16a906f.zip
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 '.clang-format')
0 files changed, 0 insertions, 0 deletions