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

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

 



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




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

  Powered by Linux