[PATCH] sched: remove unused macro SCHED_FIXEDPOINT_SCALE

Miaohe Lin posted 1 patch 9 months ago
include/linux/sched.h | 1 -
1 file changed, 1 deletion(-)
[PATCH] sched: remove unused macro SCHED_FIXEDPOINT_SCALE
Posted by Miaohe Lin 9 months ago
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
Re: [PATCH] sched: remove unused macro SCHED_FIXEDPOINT_SCALE
Posted by Miaohe Lin 8 months, 2 weeks ago
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
>