History

debugobjects: Remove pointless debug printk

It has zero value.

Thomas Gleixner committed 2 years ago

Commit 241463f1 parent 49968cf1 file · +1 −4Browse files

Showing the changes to lib/debugobjects.c (1 of 1 file). Show all

Unified · Split

lib/debugobjects.c+1−4
@@ -1303,7 +1303,7 @@ static bool __init debug_objects_replace_static_objects(struct kmem_cache *cache · 1302 unmodified lines
13031303 struct debug_obj *obj, *new;
13041304 struct hlist_node *tmp;
13051305 HLIST_HEAD(objects);
1306− int i, cnt = 0;
1306+ int i;
13071307
13081308 for (i = 0; i < ODEBUG_POOL_SIZE; i++) {
13091309 obj = kmem_cache_zalloc(cache, GFP_KERNEL);
@@ -1330,11 +1330,8 @@ static bool __init debug_objects_replace_static_objects(struct kmem_cache *cache · 20 unmodified lines
13301330 /* copy object data */
13311331 *new = *obj;
13321332 hlist_add_head(&new->node, &db->list);
1333− cnt++;
13341333 }
13351334 }
1336−
1337− pr_debug("%d of %d active objects replaced\n", cnt, obj_pool_used);
13381335 return true;
13391336 free:
13401337 hlist_for_each_entry_safe(obj, tmp, &objects, node) {