Re: [PATCH v3] block: drop dead assignments in loop_init()
From: Jens Axboe
Date: Sat Dec 12 2020 - 13:20:12 EST
On 12/11/20 10:13 PM, Lukas Bulwahn wrote:
> Commit 8410d38c2552 ("loop: use __register_blkdev to allocate devices on
> demand") simplified loop_init(); so computing the range of the block region
> is not required anymore and can be dropped.
>
> Drop dead assignments in loop_init().
>
> As compilers will detect these unneeded assignments and optimize this,
> the resulting object code is identical before and after this change.
>
> No functional change. No change in object code.
Applied, thanks.
--
Jens Axboe