“4b8b9c8ff6d5081f871cbd4c06e5d63260f90676”上不存在“drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c”
提交 9787ed6e 编写于 作者: Z Zhen Lei 提交者: Will Deacon

of/numa: remove a duplicated warning

This warning has been printed in of_numa_parse_cpu_nodes before.
Signed-off-by: NZhen Lei <thunder.leizhen@huawei.com>
Acked-by: NRob Herring <robh@kernel.org>
Signed-off-by: NWill Deacon <will.deacon@arm.com>
上级 571a588f
...@@ -179,13 +179,8 @@ int of_node_to_nid(struct device_node *device) ...@@ -179,13 +179,8 @@ int of_node_to_nid(struct device_node *device)
np->name); np->name);
of_node_put(np); of_node_put(np);
if (!r) { if (!r)
if (nid >= MAX_NUMNODES) return nid;
pr_warn("NUMA: Node id %u exceeds maximum value\n",
nid);
else
return nid;
}
return NUMA_NO_NODE; return NUMA_NO_NODE;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册