summaryrefslogtreecommitdiff
path: root/boot/pxe_utils.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2024-11-15 16:19:15 -0700
committerTom Rini <trini@konsulko.com>2025-01-15 08:48:42 -0600
commit8777ae2b957151cd4fc299b84055150c531e6333 (patch)
tree4cb0cacdf1822948d5cddf2d577e6d6c4744e3ec /boot/pxe_utils.c
parentadc621bf15cf7478e2ac46985216703219ebe778 (diff)
boot: pxe: Drop the duplicate comment on get_pxe_file()
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>
Diffstat (limited to 'boot/pxe_utils.c')
-rw-r--r--boot/pxe_utils.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/boot/pxe_utils.c b/boot/pxe_utils.c
index 3ae17553c6d..8c9c7f84d97 100644
--- a/boot/pxe_utils.c
+++ b/boot/pxe_utils.c
@@ -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)
{