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!