Re: [PATCH] platform/x86: intel_pmc_ipc: Remove unused iTCO_version variable

From: Andy Shevchenko
Date: Tue Jan 03 2017 - 15:46:53 EST


On Tue, Jan 3, 2017 at 4:46 PM, Guenter Roeck <linux@xxxxxxxxxxxx> 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@xxxxxxxxxxxx>
> ---
> 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