aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2024-02-29 22:22:50 +0000
committerEric Van Hensbergen <[email protected]>2024-03-25 00:34:35 +0000
commit10211b4a23cf4a3df5c11a10e5b3d371f16a906f (patch)
treee8d0c183bec22e0db59133b83c93bd31daeddda2 /tools/lib/bpf/libbpf.c
parentfs/9p: fix uaf in in v9fs_stat2inode_dotl (diff)
downloadkernel-10211b4a23cf4a3df5c11a10e5b3d371f16a906f.tar.gz
kernel-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 <[email protected]> Reviewed-by: Dominique Martinet <[email protected]> Signed-off-by: Eric Van Hensbergen <[email protected]>
Diffstat (limited to 'tools/lib/bpf/libbpf.c')
0 files changed, 0 insertions, 0 deletions