commit | 412a45daf4c51d77b2d76a876eaf47cdcb2008fd | [log] [tgz] |
---|---|---|
author | Johannes Thumshirn <jth@kernel.org> | Thu Dec 05 12:28:50 2019 +0100 |
committer | Johannes Thumshirn <jth@kernel.org> | Thu Dec 05 12:28:50 2019 +0100 |
tree | ccfc04a12e6aaf5ef95a263a25985515ed0fedf6 | |
parent | e2ff02d39ab7966f1023520fc4f48d1fd401c0fa [diff] |
btrfs: remove superfluous BUG_ON() in integrity checks btrfsic_process_superblock() BUG_ON()s if 'state' is NULL. But this can never happen as the only caller from btrfsic_process_superblock() is btrfsic_mount() which allocates 'state' some lines above calling btrfsic_process_superblock() and checks for the allocation to succeed. Let's just remove the impossible to hit BUG_ON(). Signed-off-by: Johannes Thumshirn <jth@kernel.org>