ANDROID: De-dup fdt_path_offset_namelen check am: 8246453859
Original change: https://android-review.googlesource.com/c/platform/external/dtc/+/2775197 Change-Id: I8647701d65219ed610357aacb93c06b2b07ace06 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
d230a22138
1 changed files with 0 additions and 3 deletions
|
@ -263,9 +263,6 @@ int fdt_path_offset_namelen(const void *fdt, const char *path, int namelen)
|
|||
|
||||
FDT_RO_PROBE(fdt);
|
||||
|
||||
if (namelen < 1)
|
||||
return -FDT_ERR_BADPATH;
|
||||
|
||||
if (namelen < 1)
|
||||
return -FDT_ERR_BADPATH;
|
||||
|
||||
|
|
Loading…
Reference in a new issue