]> git.baikalelectronics.ru Git - uboot.git/commit
efi: Drop unnecessary calls to blk_find_device()
authorSimon Glass <sjg@chromium.org>
Sat, 29 Jan 2022 21:58:39 +0000 (14:58 -0700)
committerHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Sat, 5 Feb 2022 19:20:01 +0000 (20:20 +0100)
commit7162407383577e13935196aee1cd0d7a47c17825
tree30392481d7c33addcf17ea0f126e29d49af765b3
parentbdb1889451bb74c58968c486a8ddc12abbd2814d
efi: Drop unnecessary calls to blk_find_device()

When we have the block descriptor we can simply access the device. Drop
the unnecessary function call.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_loader/efi_device_path.c