diff options
author | Qi Zheng <arch0.zheng@gmail.com> | 2020-05-28 21:25:41 +0800 |
---|---|---|
committer | Rob Herring <robh@kernel.org> | 2020-05-28 20:57:17 -0600 |
commit | 7536c7e03e745bcc6881d0af66e747040943560a (patch) | |
tree | 317c45e97d26a98a498956486790fe3baa382150 /Kconfig | |
parent | 67e35adf1b059a909a0800669736f74650464119 (diff) | |
download | linux-stable-7536c7e03e745bcc6881d0af66e747040943560a.tar.gz linux-stable-7536c7e03e745bcc6881d0af66e747040943560a.tar.bz2 linux-stable-7536c7e03e745bcc6881d0af66e747040943560a.zip |
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>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions