diff options
author | Jiapeng Chong <[email protected]> | 2024-08-30 15:17:13 +0800 |
---|---|---|
committer | Theodore Ts'o <[email protected]> | 2024-11-12 23:54:13 -0500 |
commit | c7f9a6fa405248bbd2a398c91d4df30b399f84aa (patch) | |
tree | 128e4303905e0a49a6a59004cc3580dcd4dbe43d /scripts/generate_rust_analyzer.py | |
parent | 4a622e4d477bb12ad5ed4abbc7ad1365de1fa347 (diff) |
ext4: simplify if condition
The if condition !A || A && B can be simplified to !A || B.
./fs/ext4/fast_commit.c:362:21-23: WARNING !A || A && B is equivalent to !A || B.
Reported-by: Abaci Robot <[email protected]>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9837
Signed-off-by: Jiapeng Chong <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions