diff options
author | David S. Miller <davem@davemloft.net> | 2010-11-16 21:11:15 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-16 21:11:15 +0100 |
commit | 17d70d6df0c4ea7a203b444001572a91ad9c2bef (patch) | |
tree | 5d1cf1a92a63cd59c0551d2870c2f5d466286170 /arch/sparc/prom/tree_64.c | |
parent | sparc64: Delete prom_puts() unused. (diff) | |
download | linux-17d70d6df0c4ea7a203b444001572a91ad9c2bef.tar.xz linux-17d70d6df0c4ea7a203b444001572a91ad9c2bef.zip |
sparc: Remove prom_pathtoinode()
Unused.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/prom/tree_64.c')
-rw-r--r-- | arch/sparc/prom/tree_64.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/arch/sparc/prom/tree_64.c b/arch/sparc/prom/tree_64.c index 691be68932f8..d93660048376 100644 --- a/arch/sparc/prom/tree_64.c +++ b/arch/sparc/prom/tree_64.c @@ -374,24 +374,6 @@ inline phandle prom_inst2pkg(int inst) return node; } -/* Return 'node' assigned to a particular prom 'path' - * FIXME: Should work for v0 as well - */ -phandle prom_pathtoinode(const char *path) -{ - phandle node; - int inst; - - inst = prom_devopen (path); - if (inst == 0) - return 0; - node = prom_inst2pkg(inst); - prom_devclose(inst); - if (node == -1) - return 0; - return node; -} - int prom_ihandle2path(int handle, char *buffer, int bufsize) { unsigned long args[7]; |