From c4193b3645809a152acbbdc40bcd4c848f4d1748 Mon Sep 17 00:00:00 2001 From: Nathan Chancellor Date: Wed, 25 Apr 2018 11:30:54 -0700 Subject: [PATCH] ANDROID: sched: Remove duplicate const specifier MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes the following warning while building with GCC 7.3.0: ../kernel/sched/sched.h:1127:34: warning: duplicate ‘const’ declaration specifier [-Wduplicate-decl-specifier] const struct sched_group_energy const *sge; ^~~~~ Change-Id: I779a2c042caa6e140cbcfe009070db57c9652970 Signed-off-by: Nathan Chancellor --- kernel/sched/sched.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/sched/sched.h b/kernel/sched/sched.h index 453ce4530dd9..3e0fef71f7a4 100644 --- a/kernel/sched/sched.h +++ b/kernel/sched/sched.h @@ -1124,7 +1124,7 @@ struct sched_group { unsigned int group_weight; struct sched_group_capacity *sgc; int asym_prefer_cpu; /* cpu of highest priority in group */ - const struct sched_group_energy const *sge; + const struct sched_group_energy *sge; /* * The CPUs this group covers. -- 2.20.1