From: Christoph Hellwig Date: Tue, 13 Sep 2011 21:08:32 +0000 (+0200) Subject: target: simplify transport_generic_remove X-Git-Tag: v3.2-rc1~24^2~69 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d3df7825aed2e69e12732f9e32ef9093b01302d8;p=pandora-kernel.git target: simplify transport_generic_remove Instead of duplicating the code from transport_release_fe_cmd re-use it by allowing transport_release_fe_cmd to return wether it actually freed the command or not. Also rename transport_release_fe_cmd to transport_put_cmd and add a kerneldoc comment for it to make the use case more obvious. Signed-off-by: Christoph Hellwig Signed-off-by: Nicholas Bellinger --- Reading git-diff-tree failed