From: Tejun Heo Date: Thu, 23 Apr 2009 02:05:17 +0000 (+0900) Subject: block: merge blk_invoke_request_fn() into __blk_run_queue() X-Git-Tag: v2.6.31-rc1~389^2~122 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a538cd03be6f363d039daa94199c28cfbd508455;p=pandora-kernel.git block: merge blk_invoke_request_fn() into __blk_run_queue() __blk_run_queue wraps blk_invoke_request_fn() such that it additionally removes plug and bails out early if the queue is empty. Both extra operations have their own pending mechanisms and don't cause any harm correctness-wise when they are done superflously. The only user of blk_invoke_request_fn() being blk_start_queue(), there isn't much reason to keep both functions around. Merge blk_invoke_request_fn() into __blk_run_queue() and make blk_start_queue() use __blk_run_queue() instead. [ Impact: merge two subtly different internal functions ] Signed-off-by: Tejun Heo --- Reading git-diff-tree failed