diff --git a/drivers/md/dm-bufio.c b/drivers/md/dm-bufio.c index bccc7e6903e4de8d861ef1190d01326bf6ea446b..6b832e06580dd6527bbf6e1a92e36c044db62f4a 100644 --- a/drivers/md/dm-bufio.c +++ b/drivers/md/dm-bufio.c @@ -1928,8 +1928,7 @@ static void __exit dm_bufio_exit(void) bug = 1; } - if (bug) - BUG(); + BUG_ON(bug); } module_init(dm_bufio_init)