fdtdec: test: Use compound statement macros
authorThierry Reding <treding@nvidia.com>
Thu, 21 Mar 2019 18:10:06 +0000 (19:10 +0100)
committerSimon Glass <sjg@chromium.org>
Fri, 12 Apr 2019 02:10:50 +0000 (20:10 -0600)
commita95460a45b5b2dd2c75a4965c11dc330b20315f3
tree6ab1ef5a1ab996a2c6163f86b49e676cbfc296f4
parent3db600c3ea709e97b4cc907129137dcde04b9ce5
fdtdec: test: Use compound statement macros

This eliminates the need for intermediate helper functions and allow the
macros to return a value so that it can be used subsequently.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
lib/fdtdec_test.c