From: "Zhang, Rui" <rui.zhang@intel.com>
To: "rafael@kernel.org" <rafael@kernel.org>,
"linux@treblig.org" <linux@treblig.org>
Cc: "linux-pm@vger.kernel.org" <linux-pm@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] thermal: int3403: remove unused struct 'int3403_performance_state'
Date: Thu, 30 May 2024 07:21:01 +0000 [thread overview]
Message-ID: <cf30918b5db386910ee38a33f3cbc0bd7da34a4e.camel@intel.com> (raw)
In-Reply-To: <20240529175309.83294-1-linux@treblig.org>
On Wed, 2024-05-29 at 18:53 +0100, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> 'int3403_performance_state' has never been used since the original
> commit 4384b8fe162d ("Thermal: introduce int3403 thermal driver").
>
> Remove it.
>
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Acked-by: Zhang Rui <rui.zhang@intel.com>
> ---
> .../thermal/intel/int340x_thermal/int3403_thermal.c | 11 ---------
> --
> 1 file changed, 11 deletions(-)
>
> diff --git a/drivers/thermal/intel/int340x_thermal/int3403_thermal.c
> b/drivers/thermal/intel/int340x_thermal/int3403_thermal.c
> index 86901f9f54d8..c094a422ded3 100644
> --- a/drivers/thermal/intel/int340x_thermal/int3403_thermal.c
> +++ b/drivers/thermal/intel/int340x_thermal/int3403_thermal.c
> @@ -25,17 +25,6 @@ struct int3403_sensor {
> struct int34x_thermal_zone *int340x_zone;
> };
>
> -struct int3403_performance_state {
> - u64 performance;
> - u64 power;
> - u64 latency;
> - u64 linear;
> - u64 control;
> - u64 raw_performace;
> - char *raw_unit;
> - int reserved;
> -};
> -
> struct int3403_cdev {
> struct thermal_cooling_device *cdev;
> unsigned long max_state;
next prev parent reply other threads:[~2024-05-30 7:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-29 17:53 [PATCH] thermal: int3403: remove unused struct 'int3403_performance_state' linux
2024-05-30 7:21 ` Zhang, Rui [this message]
2024-06-07 19:23 ` Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cf30918b5db386910ee38a33f3cbc0bd7da34a4e.camel@intel.com \
--to=rui.zhang@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=linux@treblig.org \
--cc=rafael@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox