Re: dm: drop unnecessary assignment of md->queue

From: Mike Snitzer
Date: Wed Feb 24 2016 - 11:58:30 EST


On Wed, Feb 24 2016 at 3:15am -0500,
Bob Liu <bob.liu@xxxxxxxxxx> wrote:

> md->queue and q are the same thing in dm_init_request_based_queue() and
> dm_init_request_based_blk_mq_queue().
>
> Also drop the temporary struct request_queue *q.

Yeah, I carried the extra assignment just as a form of documentation but
your patch is correct (they aren't needed). I've rebased your patch
ontop of linux-dm.git's 'dm-4.6' and have staged it in linux-next.