Date: Fri, 2 Feb 2018 14:47:26 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r328778 - stable/11/sys/boot/fdt Message-ID: <201802021447.w12ElQAK008677@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802021447.w12ElQAK008677>