mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
efi_loader: efi_smbios_register should have a return value
Errors may occur inside efi_smbios_register(). - Return a status code. - Remove unused variables. - Use constants where applicable. Suggested-by: Simon Glass <sjg@chromium.org> Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
1914e5b5d8
commit
7657152bdd
2 changed files with 16 additions and 9 deletions
|
@ -189,7 +189,7 @@ int efi_net_register(void);
|
|||
/* Called by bootefi to make the watchdog available */
|
||||
int efi_watchdog_register(void);
|
||||
/* Called by bootefi to make SMBIOS tables available */
|
||||
void efi_smbios_register(void);
|
||||
efi_status_t efi_smbios_register(void);
|
||||
|
||||
struct efi_simple_file_system_protocol *
|
||||
efi_fs_from_path(struct efi_device_path *fp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue