Skip to content

Commit c958ca2

Browse files
Hao JiaIngo Molnar
authored andcommitted
sched/fair: Make update_entity_lag() static
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]
1 parent ae89408 commit c958ca2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/sched/fair.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ u64 avg_vruntime(struct cfs_rq *cfs_rq)
699699
*
700700
* XXX could add max_slice to the augmented data to track this.
701701
*/
702-
void update_entity_lag(struct cfs_rq *cfs_rq, struct sched_entity *se)
702+
static void update_entity_lag(struct cfs_rq *cfs_rq, struct sched_entity *se)
703703
{
704704
s64 lag, limit;
705705

0 commit comments

Comments
 (0)