Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8f765b84 authored by Rickard Strandqvist's avatar Rickard Strandqvist Committed by David S. Miller
Browse files

arch: sparc: kernel: starfire.c: Remove unused function



Remove the function starfire_hard_smp_processor_id() that is not used anywhere.

This was partially found by using a static code analysis program called cppcheck.

Signed-off-by: default avatarRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent cb26285d
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -12,7 +12,6 @@
extern int this_is_starfire;

void check_if_starfire(void);
int starfire_hard_smp_processor_id(void);
void starfire_hookup(int);
unsigned int starfire_translate(unsigned long imap, unsigned int upaid);

+0 −5
Original line number Diff line number Diff line
@@ -28,11 +28,6 @@ void check_if_starfire(void)
		this_is_starfire = 1;
}

int starfire_hard_smp_processor_id(void)
{
	return upa_readl(0x1fff40000d0UL);
}

/*
 * Each Starfire board has 32 registers which perform translation
 * and delivery of traditional interrupt packets into the extended