lkml.org 
[lkml]   [2017]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] platform/x86: intel_pmc_ipc: Remove unused iTCO_version variable
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

\
 
 \ /
  Last update: 2017-01-03 21:47    [W:0.075 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site