Skip to content

Commit 10d29ff

Browse files
committed
sparc64: Delete starfire_cpu_setup().
It does nothing. Signed-off-by: David S. Miller <[email protected]>
1 parent d7472c3 commit 10d29ff

File tree

3 files changed

+1
-10
lines changed

3 files changed

+1
-10
lines changed

arch/sparc/include/asm/starfire.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
extern int this_is_starfire;
1313

1414
extern void check_if_starfire(void);
15-
extern void starfire_cpu_setup(void);
1615
extern int starfire_hard_smp_processor_id(void);
1716
extern void starfire_hookup(int);
1817
extern unsigned int starfire_translate(unsigned long imap, unsigned int upaid);

arch/sparc64/kernel/central.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -306,11 +306,8 @@ void __init central_probe(void)
306306
int err;
307307

308308
dp = of_find_node_by_name(NULL, "central");
309-
if (!dp) {
310-
if (this_is_starfire)
311-
starfire_cpu_setup();
309+
if (!dp)
312310
return;
313-
}
314311

315312
/* Ok we got one, grab some memory for software state. */
316313
central_bus = (struct linux_central *)

arch/sparc64/kernel/starfire.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,6 @@ void check_if_starfire(void)
2828
this_is_starfire = 1;
2929
}
3030

31-
void starfire_cpu_setup(void)
32-
{
33-
/* Currently, nothing to do. */
34-
}
35-
3631
int starfire_hard_smp_processor_id(void)
3732
{
3833
return upa_readl(0x1fff40000d0UL);

0 commit comments

Comments
 (0)