mirror of https://gitlab.com/qemu-project/dtc.git
dtc: Whitespace cleanup
This large patch removes all trailing whitespace from dtc (including libfdt, the testsuite and documentation). It also removes a handful of redundant blank lines (at the end of functions, or when there are two blank lines together for no particular reason). As well as anything else, this means that quilt won't whinge when I go to convert the whole of libfdt into a patch to apply to the kernel. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
This commit is contained in:
parent
8d59bd3b17
commit
63dc9c7113
|
@ -334,7 +334,6 @@ static int check_properties(struct node *node)
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
/* check name length */
|
||||
if (strlen(prop->name) > MAX_PROPNAME_LEN)
|
||||
WARNMSG("Property name %s is too long in %s\n",
|
||||
|
|
|
@ -104,7 +104,6 @@ void check_property(void *fdt, int nodeoffset, const char *name,
|
|||
name, proplen, len);
|
||||
if (memcmp(val, prop->data, len) != 0)
|
||||
FAIL("Data mismatch on property \"%s\"", name);
|
||||
|
||||
}
|
||||
|
||||
const void *check_getprop(void *fdt, int nodeoffset, const char *name,
|
||||
|
|
|
@ -77,7 +77,6 @@ static enum proptype guess_type(struct property *prop)
|
|||
return PROP_CELLS;
|
||||
else
|
||||
return PROP_BYTES;
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue