]> git.dujemihanovic.xyz Git - u-boot.git/commit
efi: Drop error return in efi_carve_out_dt_rsv()
authorSimon Glass <sjg@chromium.org>
Mon, 18 Jun 2018 14:08:28 +0000 (08:08 -0600)
committerAlexander Graf <agraf@suse.de>
Wed, 25 Jul 2018 12:57:44 +0000 (14:57 +0200)
commit416e07e2cfcfc18e36c9c83ed3ba52c910bf767d
tree071bdc7be7dbf7cf5ecf33ae795aa7063897bfb0
parentbc9a638a1031a171f0b2dfa4438aa3903fa589ae
efi: Drop error return in efi_carve_out_dt_rsv()

This function currently returns an error code, but never uses it. There is
no function comment so it is not obvious why. Presuambly the error is not
important.

Update the function to explain its purpose and why it ignores the error.
Drop the useful error return value.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
cmd/bootefi.c