mirror of
https://github.com/torvalds/linux.git
synced 2024-10-28 15:51:43 +00:00
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;
|
bug = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bug)
|
BUG_ON(bug);
|
||||||
BUG();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
module_init(dm_bufio_init)
|
module_init(dm_bufio_init)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user