diff options
author | David S. Miller <davem@davemloft.net> | 2012-05-11 23:45:18 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-05-11 23:45:18 -0400 |
commit | 58fa4dcbc419c4d381ed7ccfe6e9e747aaf88aeb (patch) | |
tree | adff21c6412cc83f90019160abb4b2beea233712 /arch/sparc/include/asm/floppy_32.h | |
parent | 8695c37d06721c581385725eb80ba4e6d6bdf73f (diff) |
sparc: Clear out unused asm/machines.h values.
Remove sun4 and sun4c machine ID values from asm/machines.h
Also kill NUM_SUN_MACHINES, use ARRAY_SIZE instead.
Kill asm/machines.h include and sun4c checks from asm/floppy_32.h
Remove asm/machines.h include from setup_32.c and time_32.c, unused.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/floppy_32.h')
-rw-r--r-- | arch/sparc/include/asm/floppy_32.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/sparc/include/asm/floppy_32.h b/arch/sparc/include/asm/floppy_32.h index 698d9559fead..80382abd1cc5 100644 --- a/arch/sparc/include/asm/floppy_32.h +++ b/arch/sparc/include/asm/floppy_32.h | |||
@@ -12,7 +12,6 @@ | |||
12 | #include <asm/page.h> | 12 | #include <asm/page.h> |
13 | #include <asm/pgtable.h> | 13 | #include <asm/pgtable.h> |
14 | #include <asm/idprom.h> | 14 | #include <asm/idprom.h> |
15 | #include <asm/machines.h> | ||
16 | #include <asm/oplib.h> | 15 | #include <asm/oplib.h> |
17 | #include <asm/auxio.h> | 16 | #include <asm/auxio.h> |
18 | #include <asm/irq.h> | 17 | #include <asm/irq.h> |
@@ -311,9 +310,7 @@ static int sun_floppy_init(void) | |||
311 | /* Forget it if we aren't on a machine that could possibly | 310 | /* Forget it if we aren't on a machine that could possibly |
312 | * ever have a floppy drive. | 311 | * ever have a floppy drive. |
313 | */ | 312 | */ |
314 | if((sparc_cpu_model != sun4c && sparc_cpu_model != sun4m) || | 313 | if (sparc_cpu_model != sun4m) { |
315 | ((idprom->id_machtype == (SM_SUN4C | SM_4C_SLC)) || | ||
316 | (idprom->id_machtype == (SM_SUN4C | SM_4C_ELC)))) { | ||
317 | /* We certainly don't have a floppy controller. */ | 314 | /* We certainly don't have a floppy controller. */ |
318 | goto no_sun_fdc; | 315 | goto no_sun_fdc; |
319 | } | 316 | } |