diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/md/dm-path-selector.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/md/dm-path-selector.c b/drivers/md/dm-path-selector.c index a28c1c2b4ef5..f10a0c89b3f4 100644 --- a/drivers/md/dm-path-selector.c +++ b/drivers/md/dm-path-selector.c | |||
@@ -86,8 +86,7 @@ void dm_put_path_selector(struct path_selector_type *pst) | |||
86 | if (--psi->use == 0) | 86 | if (--psi->use == 0) |
87 | module_put(psi->pst.module); | 87 | module_put(psi->pst.module); |
88 | 88 | ||
89 | if (psi->use < 0) | 89 | BUG_ON(psi->use < 0); |
90 | BUG(); | ||
91 | 90 | ||
92 | out: | 91 | out: |
93 | up_read(&_ps_lock); | 92 | up_read(&_ps_lock); |