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:
parent
86bad0c707
commit
86a49e2dac
|
@ -1928,8 +1928,7 @@ static void __exit dm_bufio_exit(void)
|
|||
bug = 1;
|
||||
}
|
||||
|
||||
if (bug)
|
||||
BUG();
|
||||
BUG_ON(bug);
|
||||
}
|
||||
|
||||
module_init(dm_bufio_init)
|
||||
|
|
Loading…
Reference in New Issue