Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

debugobjects: Remove pointless debug printk

It has zero value.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Zhen Lei <thunder.leizhen@huawei.com>
Link: https://lore.kernel.org/all/20241007164913.390511021@linutronix.de

+1 -4
+1 -4
lib/debugobjects.c
··· 1303 1303 struct debug_obj *obj, *new; 1304 1304 struct hlist_node *tmp; 1305 1305 HLIST_HEAD(objects); 1306 - int i, cnt = 0; 1306 + int i; 1307 1307 1308 1308 for (i = 0; i < ODEBUG_POOL_SIZE; i++) { 1309 1309 obj = kmem_cache_zalloc(cache, GFP_KERNEL); ··· 1330 1330 /* copy object data */ 1331 1331 *new = *obj; 1332 1332 hlist_add_head(&new->node, &db->list); 1333 - cnt++; 1334 1333 } 1335 1334 } 1336 - 1337 - pr_debug("%d of %d active objects replaced\n", cnt, obj_pool_used); 1338 1335 return true; 1339 1336 free: 1340 1337 hlist_for_each_entry_safe(obj, tmp, &objects, node) {