[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sat, 12 Dec 2020 11:19:12 -0700
From: Jens Axboe <axboe@...nel.dk>
To: Lukas Bulwahn <lukas.bulwahn@...il.com>,
Christoph Hellwig <hch@....de>, linux-block@...r.kernel.org
Cc: Hannes Reinecke <hare@...e.de>, linux-kernel@...r.kernel.org,
clang-built-linux@...glegroups.com, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH v3] block: drop dead assignments in loop_init()
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
Powered by blists - more mailing lists