Skip to contentSkip to conversation

platform/x86: intel_pmc_ipc: Remove unused iTCO_version variable

PATCH In review Guenter Roeck 2 participants 2 messages Jan 3, 2017 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 platform/x86: intel_pmc_ipc: Remove unused iTCO_version variable

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

---
 drivers/platform/x86/intel_pmc_ipc.c | 2 --
 1 file changed, 2 deletions(-)
drivers/platform/x86/intel_pmc_ipc.c +0 -2
index 0bf51d574fa9..59a86121105b 100644
@@ -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;
Signature · 1 line
2.7.4
#1 lore raw
Quoted 2 lines · Guenter Roeck

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

Pushed to testing.
Thanks!

Quoted 22 lines
---
 drivers/platform/x86/intel_pmc_ipc.c | 2 --
 1 file changed, 2 deletions(-)
drivers/platform/x86/intel_pmc_ipc.c +0 -3
index 0bf51d574fa9..59a86121105b 100644
@@ -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

Signature · 2 lines
With Best Regards,
Andy Shevchenko