mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
efi_loader: efi_dp_from_lo() unused parameter size
Parameter size is never used in function efi_dp_from_lo(). Remove it. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
This commit is contained in:
parent
fc42b8bb75
commit
05345425ca
4 changed files with 2 additions and 6 deletions
|
@ -1209,7 +1209,6 @@ ssize_t efi_dp_check_length(const struct efi_device_path *dp,
|
|||
* initrd location
|
||||
*
|
||||
* @lo: EFI_LOAD_OPTION containing a valid device path
|
||||
* @size: size of the discovered device path
|
||||
* @guid: guid to search for
|
||||
*
|
||||
* Return:
|
||||
|
@ -1218,7 +1217,6 @@ ssize_t efi_dp_check_length(const struct efi_device_path *dp,
|
|||
*/
|
||||
struct
|
||||
efi_device_path *efi_dp_from_lo(struct efi_load_option *lo,
|
||||
efi_uintn_t *size,
|
||||
const efi_guid_t *guid)
|
||||
{
|
||||
struct efi_device_path *fp = lo->file_path;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue