mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] sched: remove unused macro SCHED_FIXEDPOINT_SCALE
@ 2023-05-26  9:36 Miaohe Lin
  2023-06-15  1:38 ` Miaohe Lin
  0 siblings, 1 reply; 2+ messages in thread
From: Miaohe Lin @ 2023-05-26  9:36 UTC (permalink / raw)
  To: mingo, peterz, juri.lelli, vincent.guittot
  Cc: dietmar.eggemann, rostedt, bsegall, mgorman, bristot, vschneid,
	linux-kernel, linmiaohe

SCHED_FIXEDPOINT_SCALE is unused now. Remove it.

Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
---
 include/linux/sched.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/sched.h b/include/linux/sched.h
index 2553918f0b61..5edd1d26cc18 100644
--- a/include/linux/sched.h
+++ b/include/linux/sched.h
@@ -400,7 +400,6 @@ struct sched_info {
  * all these metrics based on that basic range.
  */
 # define SCHED_FIXEDPOINT_SHIFT		10
-# define SCHED_FIXEDPOINT_SCALE		(1L << SCHED_FIXEDPOINT_SHIFT)
 
 /* Increase resolution of cpu_capacity calculations */
 # define SCHED_CAPACITY_SHIFT		SCHED_FIXEDPOINT_SHIFT
-- 
2.27.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] sched: remove unused macro SCHED_FIXEDPOINT_SCALE
  2023-05-26  9:36 [PATCH] sched: remove unused macro SCHED_FIXEDPOINT_SCALE Miaohe Lin
@ 2023-06-15  1:38 ` Miaohe Lin
  0 siblings, 0 replies; 2+ messages in thread
From: Miaohe Lin @ 2023-06-15  1:38 UTC (permalink / raw)
  To: mingo, peterz, juri.lelli, vincent.guittot
  Cc: dietmar.eggemann, rostedt, bsegall, mgorman, bristot, vschneid,
	linux-kernel

On 2023/5/26 17:36, Miaohe Lin wrote:
> SCHED_FIXEDPOINT_SCALE is unused now. Remove it.

friendly ping.. :)

> 
> Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
> ---
>  include/linux/sched.h | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/include/linux/sched.h b/include/linux/sched.h
> index 2553918f0b61..5edd1d26cc18 100644
> --- a/include/linux/sched.h
> +++ b/include/linux/sched.h
> @@ -400,7 +400,6 @@ struct sched_info {
>   * all these metrics based on that basic range.
>   */
>  # define SCHED_FIXEDPOINT_SHIFT		10
> -# define SCHED_FIXEDPOINT_SCALE		(1L << SCHED_FIXEDPOINT_SHIFT)
>  
>  /* Increase resolution of cpu_capacity calculations */
>  # define SCHED_CAPACITY_SHIFT		SCHED_FIXEDPOINT_SHIFT
> 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-15  1:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-26  9:36 [PATCH] sched: remove unused macro SCHED_FIXEDPOINT_SCALE Miaohe Lin
2023-06-15  1:38 ` Miaohe Lin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®