diff options
author | Lukas Bulwahn <lukas.bulwahn@gmail.com> | 2020-12-12 08:13:02 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-12 21:18:56 +0300 |
commit | aeb2b0b1a3da5791d3b216e71ec72db7570f3571 (patch) | |
tree | f7de46d8e8b7a177ab492648e275ca3fc06c8f6a /drivers/gpu/drm/drm_scatter.c | |
parent | 31cc07761ccb389c7c01f904f6a6479544abbd11 (diff) | |
download | linux-aeb2b0b1a3da5791d3b216e71ec72db7570f3571.tar.xz |
block: drop dead assignments in loop_init()
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.
Signed-off-by: Lukas Bulwahn <lukas.bulwahn@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/gpu/drm/drm_scatter.c')
0 files changed, 0 insertions, 0 deletions