diff options
author | Nikolay Borisov | 2019-01-30 16:50:49 +0200 |
---|---|---|
committer | David Sterba | 2019-02-25 14:13:36 +0100 |
commit | 9a0ec83d57953f67f3dcb261d126f33f53072b04 (patch) | |
tree | 2aee2546d5caefb955c531da89cf493ccb2c2ad0 /fs/btrfs/extent_io.h | |
parent | 260e77025ffa8779a7dc4bc21f3890273c93f9d4 (diff) |
btrfs: use WARN_ON in a canonical form btrfs_remove_block_group
There is no point in using a construct like 'if (!condition)
WARN_ON(1)'. Use WARN_ON(!condition) directly. No functional changes.
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Nikolay Borisov <nborisov@suse.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'fs/btrfs/extent_io.h')
0 files changed, 0 insertions, 0 deletions