mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] thermal/core/power allocator: Remove a useless include
@ 2022-11-26 10:42 Christophe JAILLET
  2022-11-28  7:19 ` Lukasz Luba
  2022-12-04 16:40 ` Daniel Lezcano
  0 siblings, 2 replies; 3+ messages in thread
From: Christophe JAILLET @ 2022-11-26 10:42 UTC (permalink / raw)
  To: Lukasz Luba, Rafael J. Wysocki, Daniel Lezcano, Amit Kucheria, Zhang Rui
  Cc: linux-kernel, kernel-janitors, Christophe JAILLET, linux-pm

This file does not use rcu, so there is no point in including
<linux/rculist.h>.

Remove it.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
 drivers/thermal/gov_power_allocator.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/thermal/gov_power_allocator.c b/drivers/thermal/gov_power_allocator.c
index 2d1aeaba38a8..d5d4eae16771 100644
--- a/drivers/thermal/gov_power_allocator.c
+++ b/drivers/thermal/gov_power_allocator.c
@@ -8,7 +8,6 @@
 
 #define pr_fmt(fmt) "Power allocator: " fmt
 
-#include <linux/rculist.h>
 #include <linux/slab.h>
 #include <linux/thermal.h>
 
-- 
2.34.1


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

* Re: [PATCH] thermal/core/power allocator: Remove a useless include
  2022-11-26 10:42 [PATCH] thermal/core/power allocator: Remove a useless include Christophe JAILLET
@ 2022-11-28  7:19 ` Lukasz Luba
  2022-12-04 16:40 ` Daniel Lezcano
  1 sibling, 0 replies; 3+ messages in thread
From: Lukasz Luba @ 2022-11-28  7:19 UTC (permalink / raw)
  To: Christophe JAILLET
  Cc: linux-kernel, kernel-janitors, Rafael J. Wysocki, linux-pm,
	Daniel Lezcano, Zhang Rui, Amit Kucheria



On 11/26/22 10:42, Christophe JAILLET wrote:
> This file does not use rcu, so there is no point in including
> <linux/rculist.h>.
> 
> Remove it.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
> ---
>   drivers/thermal/gov_power_allocator.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/thermal/gov_power_allocator.c b/drivers/thermal/gov_power_allocator.c
> index 2d1aeaba38a8..d5d4eae16771 100644
> --- a/drivers/thermal/gov_power_allocator.c
> +++ b/drivers/thermal/gov_power_allocator.c
> @@ -8,7 +8,6 @@
>   
>   #define pr_fmt(fmt) "Power allocator: " fmt
>   
> -#include <linux/rculist.h>
>   #include <linux/slab.h>
>   #include <linux/thermal.h>
>   

Good catch.

Reviewed-by: Lukasz Luba <lukasz.luba@arm.com>

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

* Re: [PATCH] thermal/core/power allocator: Remove a useless include
  2022-11-26 10:42 [PATCH] thermal/core/power allocator: Remove a useless include Christophe JAILLET
  2022-11-28  7:19 ` Lukasz Luba
@ 2022-12-04 16:40 ` Daniel Lezcano
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Lezcano @ 2022-12-04 16:40 UTC (permalink / raw)
  To: Christophe JAILLET, Lukasz Luba, Rafael J. Wysocki,
	Amit Kucheria, Zhang Rui
  Cc: linux-kernel, kernel-janitors, linux-pm

On 26/11/2022 11:42, Christophe JAILLET wrote:
> This file does not use rcu, so there is no point in including
> <linux/rculist.h>.
> 
> Remove it.
> 
> Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
> ---

Applied, thanks

-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog


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

end of thread, other threads:[~2022-12-04 16:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-26 10:42 [PATCH] thermal/core/power allocator: Remove a useless include Christophe JAILLET
2022-11-28  7:19 ` Lukasz Luba
2022-12-04 16:40 ` Daniel Lezcano

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®