From: Ahmad Fatoum <ahmad@a3f.at>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <ahmad@a3f.at>
Subject: [PATCH] fixup! block: parse partition table on block device registration
Date: Mon, 12 Jun 2023 08:57:41 +0200 [thread overview]
Message-ID: <20230612065741.407205-1-ahmad@a3f.at> (raw)
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
next reply other threads:[~2023-06-12 6:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-12 6:57 Ahmad Fatoum [this message]
2023-06-12 13:00 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230612065741.407205-1-ahmad@a3f.at \
--to=ahmad@a3f.at \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox