block: Remove useless IPI struct initialization
authorFrederic Weisbecker <fweisbec@gmail.com>
Mon, 24 Feb 2014 15:39:53 +0000 (16:39 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 30 Mar 2015 18:54:42 +0000 (12:54 -0600)
commit3f00225d174f54bbfcd70056ebd92fec80e82d93
treea62348b379e705ae79daf4334300e6e519683041
parent6ea7eec393183eb867a91dc5ec73d4aaa77784ae
block: Remove useless IPI struct initialization

rq_fifo_clear() reset the csd.list through INIT_LIST_HEAD for no clear
purpose. The csd.list doesn't need to be initialized as a list head
because it's only ever used as a list node.

Lets remove this useless initialization.

Reviewed-by: Jan Kara <jack@suse.cz>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jan Kara <jack@suse.cz>
Cc: Jens Axboe <axboe@fb.com>
Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
include/linux/elevator.h