dm bufio: use BUG_ON instead of conditional call to BUG

Signed-off-by: Anup Limbu <anuplimbu14@gmail.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
This commit is contained in:
Anup Limbu 2015-11-25 15:46:05 +05:30 committed by Mike Snitzer
parent 86bad0c707
commit 86a49e2dac

View File

@ -1928,8 +1928,7 @@ static void __exit dm_bufio_exit(void)
bug = 1; bug = 1;
} }
if (bug) BUG_ON(bug);
BUG();
} }
module_init(dm_bufio_init) module_init(dm_bufio_init)