of/fdt: Remove redundant kbasename function call
authorQi Zheng <arch0.zheng@gmail.com>
Thu, 28 May 2020 13:25:41 +0000 (21:25 +0800)
committerRob Herring <robh@kernel.org>
Fri, 29 May 2020 02:57:17 +0000 (20:57 -0600)
commit7536c7e03e745bcc6881d0af66e747040943560a
tree317c45e97d26a98a498956486790fe3baa382150
parent67e35adf1b059a909a0800669736f74650464119
of/fdt: Remove redundant kbasename function call

For version 1 to 3 of the device tree, this is the node full
path as a zero terminated string, starting with "/". The
following equation will not hold, since the node name has
been processed in the fdt_get_name().

*pathp == '/'

For version 16 and later, this is the node unit name only
(or an empty string for the root node). So the above
equation will still not hold.

So the kbasename() is redundant, just remove it.

Signed-off-by: Qi Zheng <arch0.zheng@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/fdt.c