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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
---
 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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux