[dm-devel] dm: drop unnecessary assignment of md->queue

Mike Snitzer snitzer at redhat.com
Wed Feb 24 16:58:23 UTC 2016


On Wed, Feb 24 2016 at  3:15am -0500,
Bob Liu <bob.liu at oracle.com> 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.




More information about the dm-devel mailing list