diff options
| author | Paulo Alcantara <[email protected]> | 2022-10-14 16:40:42 +0000 |
|---|---|---|
| committer | Steve French <[email protected]> | 2022-10-14 17:35:25 +0000 |
| commit | a9e17d3d74d14e5fd10d54f0a07e0fce4e5f80dd (patch) | |
| tree | 37b659e76349993eef0ad98860ef9e81a3f60383 /drivers/fpga/zynq-fpga.c | |
| parent | cifs: use ALIGN() and round_up() macros (diff) | |
| download | kernel-a9e17d3d74d14e5fd10d54f0a07e0fce4e5f80dd.tar.gz kernel-a9e17d3d74d14e5fd10d54f0a07e0fce4e5f80dd.zip | |
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 <[email protected]>
Signed-off-by: Paulo Alcantara (SUSE) <[email protected]>
Signed-off-by: Steve French <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions
