mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fixup! block: parse partition table on block device registration
@ 2023-06-12  6:57 Ahmad Fatoum
  2023-06-12 13:00 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2023-06-12  6:57 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

efi: block: drop now unused variable definition

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

Signed-off-by: Ahmad Fatoum <ahmad@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;
-- 
2.40.1




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-06-12 13:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-12  6:57 [PATCH] fixup! block: parse partition table on block device registration Ahmad Fatoum
2023-06-12 13:00 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox