svn commit: r328778 - stable/11/sys/boot/fdt
Kyle Evans
kevans at FreeBSD.org
Fri Feb 2 14:47:27 UTC 2018
Author: kevans
Date: Fri Feb 2 14:47:25 2018
New Revision: 328778
URL: https://svnweb.freebsd.org/changeset/base/328778
Log:
MFC r328584: stand/fdt: Remove unused write-only new_fdtp, correct comment
This is effectively a direct commit to stable/11 due to path restructuring
in HEAD. The diff against HEAD has simply been applied to the old path.
Modified:
stable/11/sys/boot/fdt/fdt_loader_cmd.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/boot/fdt/fdt_loader_cmd.c
==============================================================================
--- stable/11/sys/boot/fdt/fdt_loader_cmd.c Fri Feb 2 14:33:57 2018 (r328777)
+++ stable/11/sys/boot/fdt/fdt_loader_cmd.c Fri Feb 2 14:47:25 2018 (r328778)
@@ -379,7 +379,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;
@@ -387,7 +386,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)
@@ -424,7 +422,7 @@ fdt_apply_overlays()
continue;
}
COPYOUT(fp->f_addr, overlay, fp->f_size);
- /* 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 */
More information about the svn-src-stable
mailing list