projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f4cdac
)
arch/tile/include/asm/topology.h: remove unused parent_node() macro
author
Dou Liyang
<
[email protected]
>
Fri, 17 Nov 2017 23:31:40 +0000
(15:31 -0800)
committer
Linus Torvalds
<
[email protected]
>
Sat, 18 Nov 2017 00:10:04 +0000
(16:10 -0800)
Commit
a7be6e5a7f8d
("mm: drop useless local parameters of
__register_one_node()") removed the last user of parent_node().
The parent_node() macro in tile platform is unnecessary.
Remove it for cleanup.
Link:
http://lkml.kernel.org/r/
[email protected]
Signed-off-by: Dou Liyang <
[email protected]
>
Reported-by: Michael Ellerman <
[email protected]
>
Acked-by: Chris Metcalf <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/tile/include/asm/topology.h
patch
|
blob
|
history
diff --git
a/arch/tile/include/asm/topology.h
b/arch/tile/include/asm/topology.h
index b11d5fcd2c41219fb9a9929d90f352177db67a7c..635a0a4596f00c5020060b47cf78483750639336 100644
(file)
--- a/
arch/tile/include/asm/topology.h
+++ b/
arch/tile/include/asm/topology.h
@@
-29,12
+29,6
@@
static inline int cpu_to_node(int cpu)
return cpu_2_node[cpu];
}
-/*
- * Returns the number of the node containing Node 'node'.
- * This architecture is flat, so it is a pretty simple function!
- */
-#define parent_node(node) (node)
-
/* Returns a bitmask of CPUs on Node 'node'. */
static inline const struct cpumask *cpumask_of_node(int node)
{