]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: core: Adjust dump-sorting to get stats only when needed
authorSimon Glass <sjg@chromium.org>
Wed, 20 Sep 2023 02:05:48 +0000 (20:05 -0600)
committerSimon Glass <sjg@chromium.org>
Wed, 4 Oct 2023 15:25:20 +0000 (09:25 -0600)
commita535a371a9d06b3cfa696c8a67f15a621be3ec52
tree1a58ff21ba7f9dca37200a1a27558ba08942f410
parent65b9b3462bec2966911658836983819ab4e4823e
dm: core: Adjust dump-sorting to get stats only when needed

If we are not sorting the tree we don't need to get the stats. Adjust the
code to avoid the wasted time.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/dump.c