Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1342212

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

From Mike Snitzer <snitzer@redhat.com>
Newsgroups linux.kernel
Subject Re: dm: drop unnecessary assignment of md->queue
Date 2016-02-24 18:00 +0100
Message-ID <r5KX8-7jg-7@gated-at.bofh.it> (permalink)
References <r5CPU-1G8-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] dm: drop unnecessary assignment of md->queue Bob Liu <bob.liu@oracle.com> - 2016-02-24 09:20 +0100
  Re: dm: drop unnecessary assignment of md->queue Mike Snitzer <snitzer@redhat.com> - 2016-02-24 18:00 +0100

csiph-web