]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
boot: pxe: Drop the duplicate comment on get_pxe_file()
authorSimon Glass <sjg@chromium.org>
Fri, 15 Nov 2024 23:19:15 +0000 (16:19 -0700)
committerTom Rini <trini@konsulko.com>
Wed, 15 Jan 2025 14:48:42 +0000 (08:48 -0600)
This function is exported, so document it in the header file. Drop the
duplicate comment in the C file.

Signed-off-by: Simon Glass <sjg@chromium.org>
boot/pxe_utils.c

index 3ae17553c6d51408b916adc3029135e250db2096..8c9c7f84d975092929b913e72899a4522ca2e948 100644 (file)
@@ -133,16 +133,6 @@ static int get_relfile(struct pxe_context *ctx, const char *file_path,
        return 1;
 }
 
-/**
- * get_pxe_file() - read a file
- *
- * The file is read and nul-terminated
- *
- * @ctx: PXE context
- * @file_path: File path to read (relative to the PXE file)
- * @file_addr: Address to load file to
- * Returns 1 for success, or < 0 on error
- */
 int get_pxe_file(struct pxe_context *ctx, const char *file_path,
                 ulong file_addr)
 {