aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2021-04-30 21:16:59 +0800
committerSimon Glass <sjg@chromium.org>2021-06-05 07:35:34 -0600
commit0e35b937b9c46f313a38aa7d4aba88be76d8abf7 (patch)
tree137d750fb9d6d42e7f143fe610309562a2e84495 /arch
parent139eaa7a2b5f25e42307a672849eba0e5b4cddf0 (diff)
downloadu-boot-0e35b937b9c46f313a38aa7d4aba88be76d8abf7.zip
u-boot-0e35b937b9c46f313a38aa7d4aba88be76d8abf7.tar.gz
u-boot-0e35b937b9c46f313a38aa7d4aba88be76d8abf7.tar.bz2
of: addr: Remove call to dev_count_cells() in of_get_address()
In of_get_address(), there is: dev_count_cells(dev, &na, &ns); followed by: bus->count_cells(dev, &na, &ns); but no codes in between use na/ns, hence the first call is useless. By dropping the first call, dev_count_cells() is now useless too. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions