* [PATCH] ARM: remove unused variables
@ 2014-09-11 11:27 Sheng Yong
0 siblings, 0 replies; only message in thread
From: Sheng Yong @ 2014-09-11 11:27 UTC (permalink / raw)
To: linux-arm-kernel
Since commit 6fc31d54, __lookup_machine_type was removed. And the related
variables, MACHINFO_TYPE, MACHINFO_NAME, SIZEOF_MACHINE_DESC, are no longer
used. So let's remove them.
Signed-off-by: Sheng Yong <shengyong1@huawei.com>
---
arch/arm/kernel/asm-offsets.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/arm/kernel/asm-offsets.c b/arch/arm/kernel/asm-offsets.c
index 713e807..14a8e34 100644
--- a/arch/arm/kernel/asm-offsets.c
+++ b/arch/arm/kernel/asm-offsets.c
@@ -123,10 +123,6 @@ int main(void)
BLANK();
DEFINE(SYS_ERROR0, 0x9f0000);
BLANK();
- DEFINE(SIZEOF_MACHINE_DESC, sizeof(struct machine_desc));
- DEFINE(MACHINFO_TYPE, offsetof(struct machine_desc, nr));
- DEFINE(MACHINFO_NAME, offsetof(struct machine_desc, name));
- BLANK();
DEFINE(PROC_INFO_SZ, sizeof(struct proc_info_list));
DEFINE(PROCINFO_INITFUNC, offsetof(struct proc_info_list, __cpu_flush));
DEFINE(PROCINFO_MM_MMUFLAGS, offsetof(struct proc_info_list, __cpu_mm_mmu_flags));
--
1.7.9.5
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-09-11 11:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-11 11:27 [PATCH] ARM: remove unused variables Sheng Yong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).