From: Nathan Chancellor Date: Wed, 25 Apr 2018 18:30:54 +0000 (-0700) Subject: ANDROID: sched: Remove duplicate const specifier X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=c4193b3645809a152acbbdc40bcd4c848f4d1748;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ANDROID: sched: Remove duplicate const specifier 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 --- 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.