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

Sascha Hauer sha at pengutronix.de
Mon Jun 12 06:00:04 PDT 2023


On Mon, Jun 12, 2023 at 08:57:41AM +0200, Ahmad Fatoum wrote:
> 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 at a3f.at>
> ---
>  drivers/block/efi-block-io.c | 1 -
>  1 file changed, 1 deletion(-)

Appplied, thanks

Sascha

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

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



More information about the barebox mailing list