Re: [PATCH] sched: remove unused macro SCHED_FIXEDPOINT_SCALE

From: Miaohe Lin
Date: Wed Jun 14 2023 - 21:39:06 EST


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@xxxxxxxxxx>
> ---
> 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
>