sched/topology: Make sched_energy_mutex,update static
authorTom Rix <trix@redhat.com>
Tue, 14 Mar 2023 14:48:18 +0000 (10:48 -0400)
committerPeter Zijlstra <peterz@infradead.org>
Wed, 22 Mar 2023 09:10:57 +0000 (10:10 +0100)
commitd91e15a21d4b3823ce93a42b05f0d171689f4e6a
tree8390056f31cd6598e0855a4bd9a7560ff028ea24
parente8d018dd0257f744ca50a729e3d042cf2ec9da65
sched/topology: Make sched_energy_mutex,update static

smatch reports
kernel/sched/topology.c:212:1: warning:
  symbol 'sched_energy_mutex' was not declared. Should it be static?
kernel/sched/topology.c:213:6: warning:
  symbol 'sched_energy_update' was not declared. Should it be static?

These variables are only used in topology.c, so should be static

Signed-off-by: Tom Rix <trix@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Valentin Schneider <vschneid@redhat.com>
Link: https://lore.kernel.org/r/20230314144818.1453523-1-trix@redhat.com
kernel/sched/topology.c