summaryrefslogtreecommitdiffstats
path: root/arch/sparc/kernel/starfire.c
diff options
context:
space:
mode:
authorRickard Strandqvist <rickard_strandqvist@spectrumdigital.se>2014-12-20 13:42:47 +0100
committerDavid S. Miller <davem@davemloft.net>2015-03-02 06:33:58 +0100
commit8f765b84918de82789c1f7650490e15208cb1eb3 (patch)
tree748526dc0c098c31a9e7df42ff79b698472edfe6 /arch/sparc/kernel/starfire.c
parentarch: sparc: kernel: traps_64.c: Remove some unused functions (diff)
downloadlinux-8f765b84918de82789c1f7650490e15208cb1eb3.tar.xz
linux-8f765b84918de82789c1f7650490e15208cb1eb3.zip
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: Rickard Strandqvist <rickard_strandqvist@spectrumdigital.se> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/kernel/starfire.c')
-rw-r--r--arch/sparc/kernel/starfire.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/sparc/kernel/starfire.c b/arch/sparc/kernel/starfire.c
index 82281a566bb8..167fdfd9c837 100644
--- a/arch/sparc/kernel/starfire.c
+++ b/arch/sparc/kernel/starfire.c
@@ -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