dm: do not return target from dm_get_live_table_for_ioctl()
authorMike Snitzer <snitzer@redhat.com>
Thu, 18 Feb 2016 20:44:39 +0000 (15:44 -0500)
committerMike Snitzer <snitzer@redhat.com>
Mon, 22 Feb 2016 01:27:51 +0000 (20:27 -0500)
commit664820265d70a759dceca87b6eb200cd2b93cda8
treeaebf1e58b89a1c1dfde22e14de0200402acb1f39
parent4328daa2e79ed904a42ce00a9f38b9c36b44b21a
dm: do not return target from dm_get_live_table_for_ioctl()

None of the callers actually used the returned target.
Also, just reuse bdev pointer passed to dm_blk_ioctl().

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm.c