linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / md / dm-target.c
index 477a041..aecd9e0 100644 (file)
@@ -12,8 +12,6 @@
 #include <linux/bio.h>
 #include <linux/slab.h>
 
-#define DM_MSG_PREFIX "target"
-
 struct tt_internal {
        struct target_type tt;
 
@@ -80,7 +78,8 @@ void dm_put_target_type(struct target_type *t)
        if (--ti->use == 0)
                module_put(ti->tt.module);
 
-       BUG_ON(ti->use < 0);
+       if (ti->use < 0)
+               BUG();
        up_read(&_lock);
 
        return;