linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] platform/x86: intel_pmc_ipc: Remove unused iTCO_version variable
@ 2017-01-03 14:46 Guenter Roeck
  2017-01-03 20:46 ` Andy Shevchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Guenter Roeck @ 2017-01-03 14:46 UTC (permalink / raw)
  To: Zha Qipeng; +Cc: Darren Hart, platform-driver-x86, linux-kernel, Guenter Roeck

iTCO_version was there since the driver was introduced but never used.
Drop it.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 drivers/platform/x86/intel_pmc_ipc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/platform/x86/intel_pmc_ipc.c b/drivers/platform/x86/intel_pmc_ipc.c
index 0bf51d574fa9..59a86121105b 100644
--- a/drivers/platform/x86/intel_pmc_ipc.c
+++ b/drivers/platform/x86/intel_pmc_ipc.c
@@ -97,8 +97,6 @@
 #define TCO_PMC_OFFSET			0x8
 #define TCO_PMC_SIZE			0x4
 
-static const int iTCO_version = 3;
-
 static struct intel_pmc_ipc_dev {
 	struct device *dev;
 	void __iomem *ipc_base;
-- 
2.7.4

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

* Re: [PATCH] platform/x86: intel_pmc_ipc: Remove unused iTCO_version variable
  2017-01-03 14:46 [PATCH] platform/x86: intel_pmc_ipc: Remove unused iTCO_version variable Guenter Roeck
@ 2017-01-03 20:46 ` Andy Shevchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Andy Shevchenko @ 2017-01-03 20:46 UTC (permalink / raw)
  To: Guenter Roeck; +Cc: Zha Qipeng, Darren Hart, Platform Driver, linux-kernel

On Tue, Jan 3, 2017 at 4:46 PM, Guenter Roeck <linux@roeck-us.net> wrote:
> iTCO_version was there since the driver was introduced but never used.
> Drop it.

Pushed to testing.
Thanks!

>
> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
> ---
>  drivers/platform/x86/intel_pmc_ipc.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/drivers/platform/x86/intel_pmc_ipc.c b/drivers/platform/x86/intel_pmc_ipc.c
> index 0bf51d574fa9..59a86121105b 100644
> --- a/drivers/platform/x86/intel_pmc_ipc.c
> +++ b/drivers/platform/x86/intel_pmc_ipc.c
> @@ -97,8 +97,6 @@
>  #define TCO_PMC_OFFSET                 0x8
>  #define TCO_PMC_SIZE                   0x4
>
> -static const int iTCO_version = 3;
> -
>  static struct intel_pmc_ipc_dev {
>         struct device *dev;
>         void __iomem *ipc_base;
> --
> 2.7.4
>



-- 
With Best Regards,
Andy Shevchenko

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

end of thread, other threads:[~2017-01-03 20:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-03 14:46 [PATCH] platform/x86: intel_pmc_ipc: Remove unused iTCO_version variable Guenter Roeck
2017-01-03 20:46 ` Andy Shevchenko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).