Skip to content

Commit a31c353

Browse files
alexandrebelloniegtvedt
authored andcommitted
avr32: remove fake at91 cpu identification
cpu_is_at91* are not used in any driver outside mach-at91. Remove those useless definitions. Signed-off-by: Alexandre Belloni <[email protected]> Acked-by: Hans-Christian Egtvedt <[email protected]> Acked-by: Nicolas Ferre <[email protected]>
1 parent f3240c1 commit a31c353

File tree

1 file changed

+1
-25
lines changed
  • arch/avr32/mach-at32ap/include/mach

1 file changed

+1
-25
lines changed
Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* AVR32 and (fake) AT91 CPU identification
2+
* AVR32 CPU identification
33
*
44
* Copyright (C) 2007 Atmel Corporation
55
*
@@ -20,28 +20,4 @@
2020
# define cpu_is_at32ap7000() (0)
2121
#endif
2222

23-
/*
24-
* Since this is AVR32, we will never run on any AT91 CPU. But these
25-
* definitions may reduce clutter in common drivers.
26-
*/
27-
#define cpu_is_at91rm9200() (0)
28-
#define cpu_is_at91sam9xe() (0)
29-
#define cpu_is_at91sam9260() (0)
30-
#define cpu_is_at91sam9261() (0)
31-
#define cpu_is_at91sam9263() (0)
32-
#define cpu_is_at91sam9rl() (0)
33-
#define cpu_is_at91sam9g10() (0)
34-
#define cpu_is_at91sam9g20() (0)
35-
#define cpu_is_at91sam9g45() (0)
36-
#define cpu_is_at91sam9g45es() (0)
37-
#define cpu_is_at91sam9m10() (0)
38-
#define cpu_is_at91sam9g46() (0)
39-
#define cpu_is_at91sam9m11() (0)
40-
#define cpu_is_at91sam9x5() (0)
41-
#define cpu_is_at91sam9g15() (0)
42-
#define cpu_is_at91sam9g35() (0)
43-
#define cpu_is_at91sam9x35() (0)
44-
#define cpu_is_at91sam9g25() (0)
45-
#define cpu_is_at91sam9x25() (0)
46-
4723
#endif /* __ASM_ARCH_CPU_H */

0 commit comments

Comments
 (0)