diff options
author | Haowen Bai <[email protected]> | 2022-03-23 09:45:58 +0800 |
---|---|---|
committer | David Sterba <[email protected]> | 2022-04-06 00:49:09 +0200 |
commit | 9435be734ae9de020072bd4443d46e02d92564d1 (patch) | |
tree | fa102b9830b426b2208a0e946b7f8a50faca504a /lib/mpi/mpiutil.c | |
parent | 60021bd754c6ca0addc6817994f20290a321d8d6 (diff) |
btrfs: zoned: remove redundant condition in btrfs_run_delalloc_range
The logic !A || A && B is equivalent to !A || B. so we can
make code clear.
Note: though it's preferred to be in the more human readable form, there
have been repeated reports and patches as the expression is detected by
tools so apply it to reduce the load.
Reviewed-by: Johannes Thumshirn <[email protected]>
Signed-off-by: Haowen Bai <[email protected]>
Reviewed-by: David Sterba <[email protected]>
[ add note ]
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions