fixup! block: parse partition table on block device registration
PATCH 1/1 fixup! block: parse partition table on block device registration
efi: block: drop now unused variable definition
We now directly return blockdevice_register(...), so the ret variable is unused.
Signed-off-by Ahmad Fatoum <[email protected]>
--- drivers/block/efi-block-io.c | 1 - 1 file changed, 1 deletion(-)
drivers/block/efi-block-io.c +0 -1
@@ -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;
Signature · 1 line
2.40.1
Quoted 9 lines · 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 <[email protected]>--- drivers/block/efi-block-io.c | 1 - 1 file changed, 1 deletion(-)
Appplied, thanks
Sascha
Quoted 18 lines
drivers/block/efi-block-io.c +0
-1@@ -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;Signature · 1 line
2.40.1
Signature · 4 lines
Pengutronix e.K. | | Steuerwalder Str. 21 | http://www.pengutronix.de/ | 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |