aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/boot
diff options
context:
space:
mode:
authorFrank Rowand <frank.rowand@sony.com>2022-04-24 13:40:14 -0500
committerMichael Ellerman <mpe@ellerman.id.au>2022-04-26 13:17:00 +1000
commit2fb70d1d36e2f8482a78bb8aae688ae1416af889 (patch)
treea8a41c694724be0805c18cb7e4d5243165a54598 /arch/powerpc/boot
parentpowerpc: Remove unused SLOW_DOWN_IO definition (diff)
downloadlinux-dev-2fb70d1d36e2f8482a78bb8aae688ae1416af889.tar.xz
linux-dev-2fb70d1d36e2f8482a78bb8aae688ae1416af889.zip
powerpc/boot: remove unused function find_node_by_linuxphandle()
The last user of find_node_by_linuxphandle() was removed in v4.18-rc1 by commit 30f4bbe0472a ("powerpc/boot: Remove support for Marvell MPSC serial controller") four years ago. This function is no longer needed. Signed-off-by: Frank Rowand <frank.rowand@sony.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20220424184014.968274-1-frowand.list@gmail.com
Diffstat (limited to 'arch/powerpc/boot')
-rw-r--r--arch/powerpc/boot/ops.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/powerpc/boot/ops.h b/arch/powerpc/boot/ops.h
index 6455fc9a244f..8334bc3cbe49 100644
--- a/arch/powerpc/boot/ops.h
+++ b/arch/powerpc/boot/ops.h
@@ -200,12 +200,6 @@ void __dt_fixup_mac_addresses(u32 startindex, ...);
__dt_fixup_mac_addresses(0, __VA_ARGS__, NULL)
-static inline void *find_node_by_linuxphandle(const u32 linuxphandle)
-{
- return find_node_by_prop_value(NULL, "linux,phandle",
- (char *)&linuxphandle, sizeof(u32));
-}
-
static inline char *get_path(const void *phandle, char *buf, int len)
{
if (dt_ops.get_path)