]> git.baikalelectronics.ru Git - kernel.git/commit
block: remove duplicate initialization
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Thu, 16 Aug 2018 22:45:29 +0000 (15:45 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 17 Aug 2018 18:33:36 +0000 (12:33 -0600)
commitab6edc4057f7df140885e7ed842c53513d20449f
tree65c3091289ed5cfcd82a415e2c5762242a7cddb8
parentfe5716405268eb62ca85f731686dcdda0fbbb793
block: remove duplicate initialization

This patch removes the duplicate initialization of q->queue_head
in the blk_alloc_queue_node(). This removes the 2nd initialization
so that we preserve the initialization order same as declaration
present in struct request_queue.

Reviewed-by: Omar Sandoval <osandov@fb.com>
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c