diff mbox

platform/x86: intel_pmc_ipc: Remove unused iTCO_version variable

Message ID 1483454774-906-1-git-send-email-linux@roeck-us.net (mailing list archive)
State Accepted, archived
Delegated to: Andy Shevchenko
Headers show

Commit Message

Guenter Roeck Jan. 3, 2017, 2:46 p.m. UTC
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(-)

Comments

Andy Shevchenko Jan. 3, 2017, 8:46 p.m. UTC | #1
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
>
diff mbox

Patch

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;