U-Boot: cleanup
This commit is contained in:
@@ -116,8 +116,6 @@ of_get_next_device(int *_cookie, int root, const char *type, char *path,
|
|||||||
int err;
|
int err;
|
||||||
|
|
||||||
int startoffset = *_cookie ? *_cookie : -1;
|
int startoffset = *_cookie ? *_cookie : -1;
|
||||||
// if (startoffset < 0 && root != 0)
|
|
||||||
// startoffset = root;
|
|
||||||
|
|
||||||
// iterate by property value
|
// iterate by property value
|
||||||
next = fdt_node_offset_by_prop_value(gFDT, startoffset, "device_type",
|
next = fdt_node_offset_by_prop_value(gFDT, startoffset, "device_type",
|
||||||
|
|||||||
Reference in New Issue
Block a user