diff options
author | Christoph Hellwig <hch@lst.de> | 2016-05-02 09:45:22 -0400 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2016-05-10 04:19:26 -0400 |
commit | 36ec2ddc0d9309d52e14eb84c0807a78604460dc (patch) | |
tree | e03ae54dff98c6caadb3eacb0e0c74f312000ebf /drivers/target/loopback/tcm_loop.c | |
parent | 22d11759a4e7018f8cd7914e4e706ca2c96d6c01 (diff) |
target: make close_session optional
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/loopback/tcm_loop.c')
-rw-r--r-- | drivers/target/loopback/tcm_loop.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/target/loopback/tcm_loop.c b/drivers/target/loopback/tcm_loop.c index 0941b2c13f5a..5091b31b3e56 100644 --- a/drivers/target/loopback/tcm_loop.c +++ b/drivers/target/loopback/tcm_loop.c | |||
@@ -601,11 +601,6 @@ static int tcm_loop_get_cmd_state(struct se_cmd *se_cmd) | |||
601 | return tl_cmd->sc_cmd_state; | 601 | return tl_cmd->sc_cmd_state; |
602 | } | 602 | } |
603 | 603 | ||
604 | static void tcm_loop_close_session(struct se_session *se_sess) | ||
605 | { | ||
606 | return; | ||
607 | }; | ||
608 | |||
609 | static int tcm_loop_write_pending(struct se_cmd *se_cmd) | 604 | static int tcm_loop_write_pending(struct se_cmd *se_cmd) |
610 | { | 605 | { |
611 | /* | 606 | /* |
@@ -1238,7 +1233,6 @@ static const struct target_core_fabric_ops loop_ops = { | |||
1238 | .tpg_get_inst_index = tcm_loop_get_inst_index, | 1233 | .tpg_get_inst_index = tcm_loop_get_inst_index, |
1239 | .check_stop_free = tcm_loop_check_stop_free, | 1234 | .check_stop_free = tcm_loop_check_stop_free, |
1240 | .release_cmd = tcm_loop_release_cmd, | 1235 | .release_cmd = tcm_loop_release_cmd, |
1241 | .close_session = tcm_loop_close_session, | ||
1242 | .sess_get_index = tcm_loop_sess_get_index, | 1236 | .sess_get_index = tcm_loop_sess_get_index, |
1243 | .write_pending = tcm_loop_write_pending, | 1237 | .write_pending = tcm_loop_write_pending, |
1244 | .write_pending_status = tcm_loop_write_pending_status, | 1238 | .write_pending_status = tcm_loop_write_pending_status, |