]> 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)
commitd161961f8521a7e2b60537f33fc2cb77af643e1a
tree65c3091289ed5cfcd82a415e2c5762242a7cddb8
parent682d6a57a9622b0ec1e44bddf7d22cfbd17c4442
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