Message ID | 20200504231732.98778-26-sjg@chromium.org |
---|---|
State | Superseded |
Headers | show |
Series | Tidy up the 'bd' command. | expand |
On Tue, May 5, 2020 at 7:19 AM Simon Glass <sjg at chromium.org> wrote: > > Update the comment at the top of the file to indicate what this file does. > Also drop the line at the bottom and an unnecessary header include. > > Signed-off-by: Simon Glass <sjg at chromium.org> > --- > > cmd/bdinfo.c | 8 ++------ > 1 file changed, 2 insertions(+), 6 deletions(-) > Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
diff --git a/cmd/bdinfo.c b/cmd/bdinfo.c index aea7cf904a..8c498d4290 100644 --- a/cmd/bdinfo.c +++ b/cmd/bdinfo.c @@ -1,17 +1,15 @@ // SPDX-License-Identifier: GPL-2.0+ /* + * Implements the 'bd' command to show board information + * * (C) Copyright 2003 * Wolfgang Denk, DENX Software Engineering, wd at denx.de. */ -/* - * Boot support - */ #include <common.h> #include <command.h> #include <env.h> #include <vsprintf.h> -#include <linux/compiler.h> DECLARE_GLOBAL_DATA_PTR; @@ -101,8 +99,6 @@ int do_bdinfo(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[]) return 0; } -/* -------------------------------------------------------------------- */ - U_BOOT_CMD( bdinfo, 1, 1, do_bdinfo, "print Board Info structure",
Update the comment at the top of the file to indicate what this file does. Also drop the line at the bottom and an unnecessary header include. Signed-off-by: Simon Glass <sjg at chromium.org> --- cmd/bdinfo.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-)