Message ID | 20221116094958.2141072-1-pierre.gondois@arm.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 2613cc29c5723881ca603b1a3b50f0107010d5d6 |
Delegated to: | Geert Uytterhoeven |
Headers | show |
Series | [-next,v2] cacheinfo: Remove of_node_put() for fw_token | expand |
diff --git a/drivers/base/cacheinfo.c b/drivers/base/cacheinfo.c index 04317cde800c..950b22cdb5f7 100644 --- a/drivers/base/cacheinfo.c +++ b/drivers/base/cacheinfo.c @@ -317,8 +317,6 @@ static void cache_shared_cpu_map_remove(unsigned int cpu) cpumask_clear_cpu(cpu, &sib_leaf->shared_cpu_map); cpumask_clear_cpu(sibling, &this_leaf->shared_cpu_map); } - if (of_have_populated_dt()) - of_node_put(this_leaf->fw_token); } }