From: Alex Elder Date: Fri, 30 Nov 2012 23:53:04 +0000 (-0600) Subject: rbd: kill rbd_req_coll and rbd_request X-Git-Tag: v3.9-rc1~41^2~21^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7d250b949a33c8a658a2ad4ab390d8394b842224;p=pandora-kernel.git rbd: kill rbd_req_coll and rbd_request The two remaining callers of rbd_do_request() always pass a null collection pointer, so the "coll" and "coll_index" parameters are not needed. There is no other use of that data structure, so it can be eliminated. Deleting them means there is no need to allocate a rbd_request structure for the callback function. And since that's the only use of *that* structure, it too can be eliminated. Signed-off-by: Alex Elder Reviewed-by: Josh Durgin --- Reading git-diff-tree failed