Эх сурвалжийг харах

sched: remove rq_clock()

remove the now unused rq_clock() function.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
Ingo Molnar 18 жил өмнө
parent
commit
2ab81159fa
1 өөрчлөгдсөн 0 нэмэгдсэн , 6 устгасан
  1. 0 6
      kernel/sched.c

+ 0 - 6
kernel/sched.c

@@ -368,12 +368,6 @@ static u64 __rq_clock(struct rq *rq)
 	return rq->clock;
 }
 
-static u64 rq_clock(struct rq *rq)
-{
-	update_rq_clock(rq);
-	return rq->clock;
-}
-
 /*
  * The domain tree (rq->sd) is protected by RCU's quiescent state transition.
  * See detach_destroy_domains: synchronize_sched for details.