[PATCH 104/112] efi: devicepath: drop unused macro
Ahmad Fatoum
a.fatoum at pengutronix.de
Wed Jan 3 10:13:04 PST 2024
This is used no where, so it can just be dropped.
Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
include/efi/device-path.h | 2 --
1 file changed, 2 deletions(-)
diff --git a/include/efi/device-path.h b/include/efi/device-path.h
index 433233f38c0d..39221ca369de 100644
--- a/include/efi/device-path.h
+++ b/include/efi/device-path.h
@@ -324,8 +324,6 @@ struct efi_device_path_file_path {
s16 path_name[];
};
-#define SIZE_OF_FILEPATH_DEVICE_PATH offsetof(FILEPATH_DEVICE_PATH,path_name)
-
#define DEVICE_PATH_SUB_TYPE_MEDIA_PROTOCOL 0x05
struct efi_device_path_media_protocol {
struct efi_device_path header;
--
2.39.2
More information about the barebox
mailing list