summaryrefslogtreecommitdiff
path: root/arch/sparc/prom/tree_32.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-11-16 23:11:15 +0300
committerDavid S. Miller <davem@davemloft.net>2010-11-16 23:11:15 +0300
commit17d70d6df0c4ea7a203b444001572a91ad9c2bef (patch)
tree5d1cf1a92a63cd59c0551d2870c2f5d466286170 /arch/sparc/prom/tree_32.c
parentce05a94efaf71d562eeefd30d6bbc2ab42b06bac (diff)
downloadlinux-17d70d6df0c4ea7a203b444001572a91ad9c2bef.tar.xz
sparc: Remove prom_pathtoinode()
Unused. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/prom/tree_32.c')
-rw-r--r--arch/sparc/prom/tree_32.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/sparc/prom/tree_32.c b/arch/sparc/prom/tree_32.c
index 63e08e149774..535e2e69ac1d 100644
--- a/arch/sparc/prom/tree_32.c
+++ b/arch/sparc/prom/tree_32.c
@@ -342,19 +342,3 @@ phandle prom_inst2pkg(int inst)
if (node == -1) return 0;
return node;
}
-
-/* Return 'node' assigned to a particular prom 'path'
- * FIXME: Should work for v0 as well
- */
-phandle prom_pathtoinode(char *path)
-{
- phandle node;
- int inst;
-
- inst = prom_devopen (path);
- if (inst == -1) return 0;
- node = prom_inst2pkg (inst);
- prom_devclose (inst);
- if (node == -1) return 0;
- return node;
-}