This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / include / linux / ckrm_mem_inline.h
index 221f936..d9af066 100644 (file)
@@ -73,18 +73,11 @@ mem_class_get(ckrm_mem_res_t *cls)
 static inline void
 mem_class_put(ckrm_mem_res_t *cls)
 {
-       const char *name;
        
        if (cls && atomic_dec_and_test(&(cls->nr_users)) ) {
-               if (cls->core == NULL) {
-                       name = "unknown";
-               } else {
-                       name = cls->core->name;
-               }
-               printk(KERN_DEBUG "freeing memclass %p of <core:%s>\n", cls, name);
-
-               // BUG_ON(ckrm_memclass_valid(cls));
-               // kfree(cls);
+               printk("freeing memclass %p of <core:%s>\n", cls, cls->core->name);
+               BUG_ON(ckrm_memclass_valid(cls));
+               //kfree(cls);
        }       
 }