target: remove transport_generic_remove
authorChristoph Hellwig <hch@lst.de>
Tue, 13 Sep 2011 21:08:50 +0000 (23:08 +0200)
committerNicholas Bellinger <nab@linux-iscsi.org>
Mon, 24 Oct 2011 03:20:36 +0000 (03:20 +0000)
commite6a2573f1f5d66f0456c433afdfc63f33fdf9008
tree90b36ed3403ab420521134e86f050e339d270b7b
parent4911e3ccbec047ed1f728e19a70ad87729a3fb01
target: remove transport_generic_remove

All callers that never have the session_reinstatement flag set can trivially
be converted to transport_put_cmd.  Opencode the session reinstatement code
in transport_generic_free_cmd, which was the only caller ever asking for it.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/target/target_core_transport.c