Skip to content
Commit aeb2b0b1 authored by Lukas Bulwahn's avatar Lukas Bulwahn Committed by Jens Axboe
Browse files

block: drop dead assignments in loop_init()



Commit 8410d38c ("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.

Signed-off-by: default avatarLukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 31cc0776
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment