ANDROID: sched: Remove duplicate const specifier
authorNathan Chancellor <natechancellor@gmail.com>
Wed, 25 Apr 2018 18:30:54 +0000 (11:30 -0700)
committerNathan Chancellor <natechancellor@gmail.com>
Wed, 25 Apr 2018 18:37:40 +0000 (11:37 -0700)
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 <natechancellor@gmail.com>
kernel/sched/sched.h

index 453ce4530dd9f0cf1821237eff2053e8a7f5dc0d..3e0fef71f7a41ff4319997456ff0a5d173c69d82 100644 (file)
@@ -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.