diff options
author | Wolfgang Denk <wd@denx.de> | 2007-04-04 01:49:15 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2007-04-04 01:49:15 +0200 |
commit | 94abd7c0583ebe01e799b25f451201deeaab550d (patch) | |
tree | 1c4426983176adecd162f9ea79258a0bb0085a93 /libfdt/fdt_ro.c | |
parent | aea03c4e8c3a21ce43d3faf48a6e6d474c8bdf73 (diff) | |
download | u-boot-imx-94abd7c0583ebe01e799b25f451201deeaab550d.zip u-boot-imx-94abd7c0583ebe01e799b25f451201deeaab550d.tar.gz u-boot-imx-94abd7c0583ebe01e799b25f451201deeaab550d.tar.bz2 |
Minor cleanup.
Diffstat (limited to 'libfdt/fdt_ro.c')
-rw-r--r-- | libfdt/fdt_ro.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/libfdt/fdt_ro.c b/libfdt/fdt_ro.c index 4b20553..ce01dc7 100644 --- a/libfdt/fdt_ro.c +++ b/libfdt/fdt_ro.c @@ -23,12 +23,11 @@ #include "libfdt_internal.h" -#define CHECK_HEADER(fdt) \ - { \ - int err; \ - if ((err = _fdt_check_header(fdt)) != 0) \ - return err; \ - } +#define CHECK_HEADER(fdt) { \ + int err; \ + if ((err = _fdt_check_header(fdt)) != 0) \ + return err; \ +} static int offset_streq(const void *fdt, int offset, const char *s, int len) @@ -255,7 +254,7 @@ struct fdt_property *fdt_get_property(const void *fdt, } while (level >= 0); err = -FDT_ERR_NOTFOUND; - fail: +fail: if (lenp) *lenp = err; return NULL; @@ -330,4 +329,3 @@ uint32_t fdt_next_tag(const void *fdt, int offset, int *nextoffset, char **namep return tag; } - |