Message ID | 9adeec47cb5a8193016272d5c8bf936235c1711d.1669459337.git.christophe.jaillet@wanadoo.fr |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp4565770wrr; Sat, 26 Nov 2022 02:44:44 -0800 (PST) X-Google-Smtp-Source: AA0mqf5jb03Jap42Ldc+Hn1wXEyeLPMEzrNJv//YQpYiJfIJVWVL4pgcIWL23CIaI/8YJwrEaww8 X-Received: by 2002:a17:907:d40c:b0:7bb:c496:ca45 with SMTP id vi12-20020a170907d40c00b007bbc496ca45mr9452541ejc.464.1669459484569; Sat, 26 Nov 2022 02:44:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669459484; cv=none; d=google.com; s=arc-20160816; b=sWLKV7ULzga1sQ2HkrQnMc97kxnh/DDm+58Y3lKaXoG7PCcMqirbicKvN5pP37civi RBeW7zQ7dGQgfTUjURtbZ8Fqd/JRJPVSNDOOMRTFqnF7H1M8SiJVY0fIROorG6VHDdy5 0xz2VlRb1lsxihZ5JPlLUxfxOeEIJez2iC3pVYgupdehUbL+z5GN4SrRTgYE/QZwKdpH GN80lGIZ+5fI/Lj3DEaIrCLZy87lHOEnpgnzbLrqrnf66dvU1UDQjVkjKCsNyalU90X5 wWDpyXSO1tF+NcCmm4fJGT96touXX1S9SXMuHScEpmxDcHROaUp3HHES2urs9SjfZ/6o lWYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=BtzN3F4Zzs6Z3WI3pnxQYxQpbUMV3Nh2oW1ijpGfwbQ=; b=DUvvHBT9nSlqUlpHMfEFDH8yCLzX16Pl/kDJtxND/op65yfN2eLTR0tMLiLwXnbxWk S3/Ww+7eLgDFMzAWqcVerh5JWqCB7q0TzsfPyB0n/WoIqolKySri04uYsVQu5skLr/I4 xyHHMfefYPNRqI3KUUg9s9nNzBFOZ9gfNjViztlpLxoLV2CAniLNPPuxRnF7qnOcn4cO SMe7dOL/eLHh4p3zOWw8zZ8t70Je3uZe+UQKaHZo2H+aAB6YYSvnlB/F3TOURrZYjmeG ZphxHA8JdLY+/InW8Hu//aYF+l5mM909oPRLi/GQY7CGpaaxZmiRJNcfom/oZFNC5g7a tEWg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ho16-20020a1709070e9000b007bd6264c2dbsi2463026ejc.28.2022.11.26.02.44.21; Sat, 26 Nov 2022 02:44:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229657AbiKZKmq (ORCPT <rfc822;zxc52fgh@gmail.com> + 99 others); Sat, 26 Nov 2022 05:42:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229618AbiKZKmg (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Sat, 26 Nov 2022 05:42:36 -0500 Received: from smtp.smtpout.orange.fr (smtp-12.smtpout.orange.fr [80.12.242.12]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3211031E for <linux-kernel@vger.kernel.org>; Sat, 26 Nov 2022 02:42:30 -0800 (PST) Received: from pop-os.home ([86.243.100.34]) by smtp.orange.fr with ESMTPA id ysdeoGr9wM75kysdfogT6N; Sat, 26 Nov 2022 11:42:28 +0100 X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sat, 26 Nov 2022 11:42:28 +0100 X-ME-IP: 86.243.100.34 From: Christophe JAILLET <christophe.jaillet@wanadoo.fr> To: Lukasz Luba <lukasz.luba@arm.com>, "Rafael J. Wysocki" <rafael@kernel.org>, Daniel Lezcano <daniel.lezcano@linaro.org>, Amit Kucheria <amitk@kernel.org>, Zhang Rui <rui.zhang@intel.com> Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET <christophe.jaillet@wanadoo.fr>, linux-pm@vger.kernel.org Subject: [PATCH] thermal/core/power allocator: Remove a useless include Date: Sat, 26 Nov 2022 11:42:25 +0100 Message-Id: <9adeec47cb5a8193016272d5c8bf936235c1711d.1669459337.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750555148584765232?= X-GMAIL-MSGID: =?utf-8?q?1750555148584765232?= |
Series |
thermal/core/power allocator: Remove a useless include
|
|
Commit Message
Christophe JAILLET
Nov. 26, 2022, 10:42 a.m. UTC
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(-)
Comments
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>
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
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>