aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/starfire.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2006-06-29 17:27:13 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2006-06-29 19:37:08 -0400
commit286bbe87c143ca7ecee5bb499cd78048c5a05d49 (patch)
tree0bdb16fafa3012160cbe27bd6fc5957f658f485b /arch/sparc64/kernel/starfire.c
parentbf7e8511088963078484132636839b59e25cf14f (diff)
[SPARC64]: Kill starfire_cookie from SBUS/PCI.
Totally unused. We need to traverse the list of global IRQ translaters, so storing it in the per-bus structures was useless. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/starfire.c')
-rw-r--r--arch/sparc64/kernel/starfire.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/sparc64/kernel/starfire.c b/arch/sparc64/kernel/starfire.c
index ae859d40771e..b930fee7708a 100644
--- a/arch/sparc64/kernel/starfire.c
+++ b/arch/sparc64/kernel/starfire.c
@@ -54,7 +54,7 @@ struct starfire_irqinfo {
54static struct starfire_irqinfo *sflist = NULL; 54static struct starfire_irqinfo *sflist = NULL;
55 55
56/* Beam me up Scott(McNeil)y... */ 56/* Beam me up Scott(McNeil)y... */
57void *starfire_hookup(int upaid) 57void starfire_hookup(int upaid)
58{ 58{
59 struct starfire_irqinfo *p; 59 struct starfire_irqinfo *p;
60 unsigned long treg_base, hwmid, i; 60 unsigned long treg_base, hwmid, i;
@@ -81,8 +81,6 @@ void *starfire_hookup(int upaid)
81 p->upaid = upaid; 81 p->upaid = upaid;
82 p->next = sflist; 82 p->next = sflist;
83 sflist = p; 83 sflist = p;
84
85 return (void *) p;
86} 84}
87 85
88unsigned int starfire_translate(unsigned long imap, 86unsigned int starfire_translate(unsigned long imap,