Patchwork Remove unused asm-offsets entries for cpu_spec

login
register
mail settings
Submitter Michael Ellerman
Date Feb. 24, 2009, 3:40 a.m.
Message ID <f956d1f05ce70c71705d1e04d98e2c549d79dd14.1235446849.git.michael@ellerman.id.au>
Download mbox | patch
Permalink /patch/23593/
State Accepted, archived
Commit c93717826f25caa914c54f72c6f6ca1e631b126b
Delegated to: Benjamin Herrenschmidt
Headers show

Comments

Michael Ellerman - Feb. 24, 2009, 3:40 a.m.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
---
 arch/powerpc/kernel/asm-offsets.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

Patch

diff --git a/arch/powerpc/kernel/asm-offsets.c b/arch/powerpc/kernel/asm-offsets.c
index 9937fe4..addac07 100644
--- a/arch/powerpc/kernel/asm-offsets.c
+++ b/arch/powerpc/kernel/asm-offsets.c
@@ -280,9 +280,6 @@  int main(void)
 #endif /* ! CONFIG_PPC64 */
 
 	/* About the CPU features table */
-	DEFINE(CPU_SPEC_ENTRY_SIZE, sizeof(struct cpu_spec));
-	DEFINE(CPU_SPEC_PVR_MASK, offsetof(struct cpu_spec, pvr_mask));
-	DEFINE(CPU_SPEC_PVR_VALUE, offsetof(struct cpu_spec, pvr_value));
 	DEFINE(CPU_SPEC_FEATURES, offsetof(struct cpu_spec, cpu_features));
 	DEFINE(CPU_SPEC_SETUP, offsetof(struct cpu_spec, cpu_setup));
 	DEFINE(CPU_SPEC_RESTORE, offsetof(struct cpu_spec, cpu_restore));