projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
571a588
)
of/numa: remove a duplicated warning
author
Zhen Lei
<thunder.leizhen@huawei.com>
Thu, 1 Sep 2016 06:54:55 +0000
(14:54 +0800)
committer
Will Deacon
<will.deacon@arm.com>
Fri, 9 Sep 2016 13:59:08 +0000
(14:59 +0100)
This warning has been printed in of_numa_parse_cpu_nodes before.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Acked-by: Rob Herring <robh@kernel.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
drivers/of/of_numa.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/of/of_numa.c
b/drivers/of/of_numa.c
index c1bd62ce3144d973861414125a9d669b7e08c719..625b0573e5f8db57a84b39e4f5dcfe6944ab2f0e 100644
(file)
--- a/
drivers/of/of_numa.c
+++ b/
drivers/of/of_numa.c
@@
-179,13
+179,8
@@
int of_node_to_nid(struct device_node *device)
np->name);
of_node_put(np);
- if (!r) {
- if (nid >= MAX_NUMNODES)
- pr_warn("NUMA: Node id %u exceeds maximum value\n",
- nid);
- else
- return nid;
- }
+ if (!r)
+ return nid;
return NUMA_NO_NODE;
}