diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-11-12 20:26:09 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-01-08 22:48:47 -0500 |
commit | afcc2472d80569059b5fe71fcb67e618b9d83fa8 (patch) | |
tree | 2ee296c0c8e7680ecbb340d6b9b1d54c5714f618 /arch | |
parent | b9abaa3fb7328851bdeaad19e694048f0ff71d9a (diff) |
[PATCH] PPC_PREP: remove unneeded exports
This patch removes the EXPORT_SYMBOL'ed but completely unused variable
ucSystemType and removes the unneeded EXPORT_SYMBOL(_prep_type).
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Tom Rini <trini@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/kernel/ppc_ksyms.c | 5 | ||||
-rw-r--r-- | arch/ppc/kernel/ppc_ksyms.c | 4 | ||||
-rw-r--r-- | arch/ppc/platforms/prep_setup.c | 1 |
3 files changed, 0 insertions, 10 deletions
diff --git a/arch/powerpc/kernel/ppc_ksyms.c b/arch/powerpc/kernel/ppc_ksyms.c index 94db25708456..b2758148a0de 100644 --- a/arch/powerpc/kernel/ppc_ksyms.c +++ b/arch/powerpc/kernel/ppc_ksyms.c | |||
@@ -76,11 +76,6 @@ EXPORT_SYMBOL(single_step_exception); | |||
76 | EXPORT_SYMBOL(sys_sigreturn); | 76 | EXPORT_SYMBOL(sys_sigreturn); |
77 | #endif | 77 | #endif |
78 | 78 | ||
79 | #if defined(CONFIG_PPC_PREP) | ||
80 | EXPORT_SYMBOL(_prep_type); | ||
81 | EXPORT_SYMBOL(ucSystemType); | ||
82 | #endif | ||
83 | |||
84 | EXPORT_SYMBOL(strcpy); | 79 | EXPORT_SYMBOL(strcpy); |
85 | EXPORT_SYMBOL(strncpy); | 80 | EXPORT_SYMBOL(strncpy); |
86 | EXPORT_SYMBOL(strcat); | 81 | EXPORT_SYMBOL(strcat); |
diff --git a/arch/ppc/kernel/ppc_ksyms.c b/arch/ppc/kernel/ppc_ksyms.c index bb6a5c6a64be..28f1082e5040 100644 --- a/arch/ppc/kernel/ppc_ksyms.c +++ b/arch/ppc/kernel/ppc_ksyms.c | |||
@@ -82,10 +82,6 @@ EXPORT_SYMBOL(ppc_n_lost_interrupts); | |||
82 | EXPORT_SYMBOL(ISA_DMA_THRESHOLD); | 82 | EXPORT_SYMBOL(ISA_DMA_THRESHOLD); |
83 | EXPORT_SYMBOL(DMA_MODE_READ); | 83 | EXPORT_SYMBOL(DMA_MODE_READ); |
84 | EXPORT_SYMBOL(DMA_MODE_WRITE); | 84 | EXPORT_SYMBOL(DMA_MODE_WRITE); |
85 | #if defined(CONFIG_PPC_PREP) | ||
86 | EXPORT_SYMBOL(_prep_type); | ||
87 | EXPORT_SYMBOL(ucSystemType); | ||
88 | #endif | ||
89 | 85 | ||
90 | #if !defined(__INLINE_BITOPS) | 86 | #if !defined(__INLINE_BITOPS) |
91 | EXPORT_SYMBOL(set_bit); | 87 | EXPORT_SYMBOL(set_bit); |
diff --git a/arch/ppc/platforms/prep_setup.c b/arch/ppc/platforms/prep_setup.c index 4415748071dc..a6a188910a1a 100644 --- a/arch/ppc/platforms/prep_setup.c +++ b/arch/ppc/platforms/prep_setup.c | |||
@@ -72,7 +72,6 @@ | |||
72 | 72 | ||
73 | TODC_ALLOC(); | 73 | TODC_ALLOC(); |
74 | 74 | ||
75 | unsigned char ucSystemType; | ||
76 | unsigned char ucBoardRev; | 75 | unsigned char ucBoardRev; |
77 | unsigned char ucBoardRevMaj, ucBoardRevMin; | 76 | unsigned char ucBoardRevMaj, ucBoardRevMin; |
78 | 77 | ||