From: Tejun Heo Date: Tue, 13 Dec 2011 23:33:41 +0000 (+0100) Subject: block: remove elevator_queue->ops X-Git-Tag: v3.3-rc1~49^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=22f746e235a5cbee2a6ca9887b1be2aa7d31fe71;p=pandora-kernel.git block: remove elevator_queue->ops elevator_queue->ops points to the same ops struct ->elevator_type.ops is pointing to. The only effect of caching it in elevator_queue is shorter notation - it doesn't save any indirect derefence. Relocate elevator_type->list which used only during module init/exit to the end of the structure, rename elevator_queue->elevator_type to ->type, and replace elevator_queue->ops with elevator_queue->type.ops. This doesn't introduce any functional difference. Signed-off-by: Tejun Heo Signed-off-by: Jens Axboe --- Reading git-diff-tree failed