We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 55fb412 commit 3f397bfCopy full SHA for 3f397bf
lib/debugobjects.c
@@ -1364,20 +1364,11 @@ static bool __init debug_objects_replace_static_objects(struct kmem_cache *cache
1364
void __init debug_objects_mem_init(void)
1365
{
1366
struct kmem_cache *cache;
1367
- int cpu, extras;
+ int extras;
1368
1369
if (!debug_objects_enabled)
1370
return;
1371
1372
- /*
1373
- * Initialize the percpu object pools
1374
- *
1375
- * Initialization is not strictly necessary, but was done for
1376
- * completeness.
1377
- */
1378
- for_each_possible_cpu(cpu)
1379
- INIT_HLIST_HEAD(&per_cpu(percpu_obj_pool.free_objs, cpu));
1380
-
1381
if (!debug_objects_selftest())
1382
1383
0 commit comments