commit | 07d44f1f82b780a597fddc677d761417f2af8452 | [log] [tgz] |
---|---|---|
author | Rob Herring <robh@kernel.org> | Mon Aug 27 10:59:05 2018 -0500 |
committer | Rob Herring <robh@kernel.org> | Fri Sep 28 14:25:58 2018 -0500 |
tree | 0b9805e90eb7fb3c049b9457e873cb139cb55048 | |
parent | d4866f751edf6d46d523b75979b3c6affed16510 [diff] |
ARM: topology: remove unneeded check for /cpus node Checking for "/cpus" node is not necessary as of_get_cpu_node() will fail later on anyways. The call to of_find_node_by_path() also leaks a reference. So just remove the check. Cc: Russell King <linux@armlinux.org.uk> Cc: linux-arm-kernel@lists.infradead.org Signed-off-by: Rob Herring <robh@kernel.org>