dm: remove unnecessary assignment statement in alloc_dev()
authorGenjian Zhang <zhanggenjian@kylinos.cn>
Thu, 29 Sep 2022 08:20:36 +0000 (16:20 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 29 Oct 2022 08:12:56 +0000 (10:12 +0200)
commite326df21da252d2ebc50ceba204a5540c602afad
treebb0a53ea85835239e999878283fc3a45afaf3442
parent847301f0ee1c29f34cc48547ce1071990f24969c
dm: remove unnecessary assignment statement in alloc_dev()

[ Upstream commit 99f4f5bcb975527508eb7a5e3e34bdb91d576746 ]

Fixes: 74fe6ba923949 ("dm: convert to blk_alloc_disk/blk_cleanup_disk")
Signed-off-by: Genjian Zhang <zhanggenjian@kylinos.cn>
Signed-off-by: Mike Snitzer <snitzer@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/md/dm.c