aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorZheng Wang <[email protected]>2023-06-15 20:12:21 +0800
committerJens Axboe <[email protected]>2023-06-15 07:30:43 -0600
commit028ddcac477b691dd9205c92f991cc15259d033e (patch)
tree2a41a9170410e3de2bb6112a036d8eeff1d07822 /scripts/generate_rust_analyzer.py
parentccb8c3bd6d93e7986b702d1f66d5d56d08abc59f (diff)
bcache: Remove unnecessary NULL point check in node allocations
Due to the previous fix of __bch_btree_node_alloc, the return value will never be a NULL pointer. So IS_ERR is enough to handle the failure situation. Fix it by replacing IS_ERR_OR_NULL check by an IS_ERR check. Fixes: cafe56359144 ("bcache: A block layer cache") Cc: [email protected] Signed-off-by: Zheng Wang <[email protected]> Signed-off-by: Coly Li <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions