Skip to content

Commit 99f4f5b

Browse files
Genjian ZhangMike Snitzer
authored andcommitted
dm: remove unnecessary assignment statement in alloc_dev()
Fixes: 74fe6ba ("dm: convert to blk_alloc_disk/blk_cleanup_disk") Signed-off-by: Genjian Zhang <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
1 parent dc3efed commit 99f4f5b

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/md/dm.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2065,7 +2065,6 @@ static struct mapped_device *alloc_dev(int minor)
20652065
md->disk->minors = 1;
20662066
md->disk->flags |= GENHD_FL_NO_PART;
20672067
md->disk->fops = &dm_blk_dops;
2068-
md->disk->queue = md->queue;
20692068
md->disk->private_data = md;
20702069
sprintf(md->disk->disk_name, "dm-%d", minor);
20712070

0 commit comments

Comments
 (0)