Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit c4193b36 authored by Nathan Chancellor's avatar Nathan Chancellor
Browse files

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: default avatarNathan Chancellor <natechancellor@gmail.com>
parent e9a2c5dd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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.