summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorPaulo Alcantara <pc@cjr.nz>2022-10-14 19:40:42 +0300
committerSteve French <stfrench@microsoft.com>2022-10-14 20:35:25 +0300
commita9e17d3d74d14e5fd10d54f0a07e0fce4e5f80dd (patch)
tree37b659e76349993eef0ad98860ef9e81a3f60383 /tools/perf/scripts/python/task-analyzer.py
parentd7173623bf0b1503bc4e6f13cd0fccab5e98c6ce (diff)
downloadlinux-a9e17d3d74d14e5fd10d54f0a07e0fce4e5f80dd.tar.xz
cifs: fix static checker warning
Remove unnecessary NULL check of oparam->cifs_sb when parsing symlink error response as it's already set by all smb2_open_file() callers and deferenced earlier. This fixes below report: fs/cifs/smb2file.c:126 smb2_open_file() warn: variable dereferenced before check 'oparms->cifs_sb' (see line 112) Link: https://lore.kernel.org/r/Y0kt42j2tdpYakRu@kili Reported-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Paulo Alcantara (SUSE) <pc@cjr.nz> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions