summaryrefslogtreecommitdiff
path: root/netboot.c
diff options
context:
space:
mode:
authorPeter Jones <pjones@redhat.com>2021-02-22 17:25:24 -0500
committerPeter Jones <pjones@redhat.com>2021-02-25 10:15:14 -0500
commit587b608b89def24717632fd5b3e548f2cf52c675 (patch)
treec4551e2ed2b24646ea7c95f91e1a65daf7fecf0f /netboot.c
parentc1722924cee57e1eb27cad656baf079bf809b8f6 (diff)
downloadefi-boot-shim-587b608b89def24717632fd5b3e548f2cf52c675.tar.gz
efi-boot-shim-587b608b89def24717632fd5b3e548f2cf52c675.zip
Fix all the places we need UNUSED on arguments.
Signed-off-by: Peter Jones <pjones@redhat.com>
Diffstat (limited to 'netboot.c')
-rw-r--r--netboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/netboot.c b/netboot.c
index ec13c64a..25a6df7f 100644
--- a/netboot.c
+++ b/netboot.c
@@ -288,7 +288,7 @@ static EFI_STATUS parseDhcp4()
return EFI_SUCCESS;
}
-EFI_STATUS parseNetbootinfo(EFI_HANDLE image_handle)
+EFI_STATUS parseNetbootinfo(EFI_HANDLE image_handle UNUSED)
{
EFI_STATUS efi_status;
@@ -309,7 +309,7 @@ EFI_STATUS parseNetbootinfo(EFI_HANDLE image_handle)
return efi_status;
}
-EFI_STATUS FetchNetbootimage(EFI_HANDLE image_handle, VOID **buffer, UINT64 *bufsiz)
+EFI_STATUS FetchNetbootimage(EFI_HANDLE image_handle UNUSED, VOID **buffer, UINT64 *bufsiz)
{
EFI_STATUS efi_status;
EFI_PXE_BASE_CODE_TFTP_OPCODE read = EFI_PXE_BASE_CODE_TFTP_READ_FILE;