projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
755a9d4
)
powerpc/boot: remove unused function find_node_by_linuxphandle()
author
Frank Rowand
<frank.rowand@sony.com>
Sun, 24 Apr 2022 18:40:14 +0000
(13:40 -0500)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Tue, 26 Apr 2022 03:17:00 +0000
(13:17 +1000)
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
arch/powerpc/boot/ops.h
patch
|
blob
|
history
diff --git
a/arch/powerpc/boot/ops.h
b/arch/powerpc/boot/ops.h
index 6455fc9a244f821f74ae37e1c465b5b9658f5738..8334bc3cbe499a166edcfaa74e59d91f69bf5051 100644
(file)
--- 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)