aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/symbols.py
diff options
context:
space:
mode:
authorDan Carpenter <[email protected]>2022-01-28 17:09:22 +0300
committerJens Axboe <[email protected]>2022-02-02 07:50:55 -0700
commit365ab499153cdb2007d54e7e62bcbf2c67f7ab8f (patch)
tree307d87ca8c7dfbc21a5573bf83b167cd761033c6 /scripts/gdb/linux/symbols.py
parent455a844d6345639be682977b3f0126be446b702e (diff)
fs/ntfs3: remove unnecessary NULL check
This code triggers a Smatch warning: fs/ntfs3/fsntfs.c:1606 ntfs_bio_fill_1() warn: variable dereferenced before check 'bio' (see line 1591) The "bio" pointer cannot be NULL so there is no need to check. Originally there was more extensive NULL checking but it was removed because bio_alloc() will never fail if it is allowed to sleep. Remove this check as well. Fixes: 39146b6f66ba ("ntfs3: remove ntfs_alloc_bio") Signed-off-by: Dan Carpenter <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/20220128140922.GA29766@kili Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/symbols.py')
0 files changed, 0 insertions, 0 deletions