]> Git Repo - J-linux.git/commitdiff
sched/fair: Make update_entity_lag() static
authorHao Jia <[email protected]>
Tue, 29 Aug 2023 03:03:25 +0000 (11:03 +0800)
committerIngo Molnar <[email protected]>
Tue, 29 Aug 2023 19:05:28 +0000 (21:05 +0200)
The function update_entity_lag() is only used inside the kernel/sched/fair.c file.
Make it static.

Signed-off-by: Hao Jia <[email protected]>
Signed-off-by: Ingo Molnar <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
kernel/sched/fair.c

index 911d0063763cbdbfef36eb9dd6bafc552343efa1..8dbff6e7ad4f53af8965f5ab5ace0c1f2a758c63 100644 (file)
@@ -699,7 +699,7 @@ u64 avg_vruntime(struct cfs_rq *cfs_rq)
  *
  * XXX could add max_slice to the augmented data to track this.
  */
-void update_entity_lag(struct cfs_rq *cfs_rq, struct sched_entity *se)
+static void update_entity_lag(struct cfs_rq *cfs_rq, struct sched_entity *se)
 {
        s64 lag, limit;
 
This page took 0.064603 seconds and 4 git commands to generate.