diff options
author | Kyle Evans <kevans@FreeBSD.org> | 2018-01-30 03:31:40 +0000 |
---|---|---|
committer | Kyle Evans <kevans@FreeBSD.org> | 2018-01-30 03:31:40 +0000 |
commit | e7ca72db2b17130fc6bf4003a2c79167fc4d6aee (patch) | |
tree | b08cf141b0505f6f18c8f50fa880565282cfe23e /stand/fdt/fdt_loader_cmd.c | |
parent | 6ea268b652102d451a1ff35988b774bf4b5a6e1f (diff) | |
download | src-test2-e7ca72db2b17130fc6bf4003a2c79167fc4d6aee.tar.gz src-test2-e7ca72db2b17130fc6bf4003a2c79167fc4d6aee.zip |
Notes
Diffstat (limited to 'stand/fdt/fdt_loader_cmd.c')
-rw-r--r-- | stand/fdt/fdt_loader_cmd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/stand/fdt/fdt_loader_cmd.c b/stand/fdt/fdt_loader_cmd.c index 68a56101a666..764d523614e1 100644 --- a/stand/fdt/fdt_loader_cmd.c +++ b/stand/fdt/fdt_loader_cmd.c @@ -438,7 +438,6 @@ fdt_apply_overlays() size_t max_overlay_size, next_fdtp_size; size_t current_fdtp_size; void *current_fdtp; - void *new_fdtp; void *next_fdtp; void *overlay; int rv; @@ -446,7 +445,6 @@ fdt_apply_overlays() if ((fdtp == NULL) || (fdtp_size == 0)) return; - new_fdtp = NULL; max_overlay_size = 0; for (fp = file_findfile(NULL, "dtbo"); fp != NULL; fp = fp->f_next) { if (max_overlay_size < fp->f_size) @@ -489,7 +487,7 @@ fdt_apply_overlays() printf("failed to open base dtb into overlay base\n"); continue; } - /* Both overlay and new_fdtp may be modified in place */ + /* Both overlay and next_fdtp may be modified in place */ rv = fdt_overlay_apply(next_fdtp, overlay); if (rv == 0) { /* Rotate next -> current */ |