aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorTom Rix <[email protected]>2023-03-16 20:48:31 +0000
committerTheodore Ts'o <[email protected]>2023-04-20 03:38:33 +0000
commit8ae56b4e82ee29b5cc1fbea8b00a0a7e0758f3c2 (patch)
treeb997943c1837eceb1a757d405e926bd6c7da2d11 /tools/perf/scripts/python/libxed.py
parentext4: move dax and encrypt checking into ext4_check_feature_compatibility() (diff)
downloadkernel-8ae56b4e82ee29b5cc1fbea8b00a0a7e0758f3c2.tar.gz
kernel-8ae56b4e82ee29b5cc1fbea8b00a0a7e0758f3c2.zip
ext4: remove unneeded check of nr_to_submit
cppcheck reports fs/ext4/page-io.c:516:51: style: Condition 'nr_to_submit' is always true [knownConditionTrueFalse] if (fscrypt_inode_uses_fs_layer_crypto(inode) && nr_to_submit) { ^ This earlier check to bail, makes this check unncessary /* Nothing to submit? Just unlock the page... */ if (!nr_to_submit) return 0; Signed-off-by: Tom Rix <[email protected]> Fixes: dff4ac75eeee ("ext4: move keep_towrite handling to ext4_bio_write_page()") Reviewed-by: Eric Biggers <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions