Loading drivers/cpuidle/lpm-levels-of.c +5 −7 Original line number Diff line number Diff line /* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. /* Copyright (c) 2014-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -848,14 +848,12 @@ failed: void free_cluster_node(struct lpm_cluster *cluster) { struct list_head *list; int i; struct lpm_cluster *cl, *m; list_for_each(list, &cluster->child) { struct lpm_cluster *n; n = list_entry(list, typeof(*n), list); list_del(list); free_cluster_node(n); list_for_each_entry_safe(cl, m, &cluster->child, list) { list_del(&cl->list); free_cluster_node(cl); }; if (cluster->cpu) { Loading Loading
drivers/cpuidle/lpm-levels-of.c +5 −7 Original line number Diff line number Diff line /* Copyright (c) 2014-2016, The Linux Foundation. All rights reserved. /* Copyright (c) 2014-2018, The Linux Foundation. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 and Loading Loading @@ -848,14 +848,12 @@ failed: void free_cluster_node(struct lpm_cluster *cluster) { struct list_head *list; int i; struct lpm_cluster *cl, *m; list_for_each(list, &cluster->child) { struct lpm_cluster *n; n = list_entry(list, typeof(*n), list); list_del(list); free_cluster_node(n); list_for_each_entry_safe(cl, m, &cluster->child, list) { list_del(&cl->list); free_cluster_node(cl); }; if (cluster->cpu) { Loading