[PATCH 06/10] fdtgrep: Simplify code to inverting the match

Simon Glass sjg at chromium.org
Mon Jan 1 17:49:25 CET 2024


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 at chromium.org>
---

 tools/fdtgrep.c | 10 ++--------
 1 file changed, 2 insertions(+), 8 deletions(-)

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list