[PATCH] fixup! block: parse partition table on block device registration

Ahmad Fatoum ahmad at a3f.at
Sun Jun 11 23:57:41 PDT 2023

efi: block: drop now unused variable definition

We now directly return blockdevice_register(...), so the ret variable is

Signed-off-by: Ahmad Fatoum <ahmad at a3f.at>
 drivers/block/efi-block-io.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/block/efi-block-io.c b/drivers/block/efi-block-io.c
index 7162106ab8ea..79a62d53d30a 100644
--- a/drivers/block/efi-block-io.c
+++ b/drivers/block/efi-block-io.c
@@ -146,7 +146,6 @@ static bool is_bio_usbdev(struct efi_device *efidev)
 static int efi_bio_probe(struct efi_device *efidev)
-	int ret;
 	int instance;
 	struct efi_bio_priv *priv;
 	struct efi_block_io_media *media;

More information about the barebox mailing list