dm: drop unnecessary assignment of md->queue
authorBob Liu <bob.liu@oracle.com>
Wed, 24 Feb 2016 08:15:38 +0000 (16:15 +0800)
committerMike Snitzer <snitzer@redhat.com>
Thu, 10 Mar 2016 22:12:07 +0000 (17:12 -0500)
commite233d800a9648f2c0802aa23250d9c8af57bab43
treee60f29182c25ad098e8b3754528c9acb1c286da8
parent032482fda4d19e0de10e0e99420a616c1e3e7820
dm: drop unnecessary assignment of md->queue

md->queue and q are the same thing in dm_old_init_request_queue() and
dm_mq_init_request_queue().

Also drop the temporary 'struct request_queue *q' in
dm_old_init_request_queue().

Signed-off-by: Bob Liu <bob.liu@oracle.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm.c