]> git.dujemihanovic.xyz Git - u-boot.git/commit
fdtgrep: Simplify code to inverting the match
authorSimon Glass <sjg@chromium.org>
Sun, 17 Dec 2023 16:36:19 +0000 (09:36 -0700)
committerSimon Glass <sjg@chromium.org>
Sun, 31 Dec 2023 14:21:02 +0000 (07:21 -0700)
commit490afe74287fef246320c6473f74b2fc2a62c745
tree91d530369b09a10316c08b85fc88575a1cccabc3
parentb1823ed1715910b1af68815a27c33c2c992e685c
fdtgrep: Simplify code to inverting the match

The code to invert the match in h_include() is a bit convoluted.
Simplify it by using disp->invert only once.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/fdtgrep.c