summaryrefslogtreecommitdiffstats
path: root/drivers/target/sbp
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2016-05-02 15:45:22 +0200
committerNicholas Bellinger <nab@linux-iscsi.org>2016-05-10 01:19:26 -0700
commit36ec2ddc0d9309d52e14eb84c0807a78604460dc (patch)
treee03ae54dff98c6caadb3eacb0e0c74f312000ebf /drivers/target/sbp
parent22d11759a4e7018f8cd7914e4e706ca2c96d6c01 (diff)
downloadlinux-36ec2ddc0d9309d52e14eb84c0807a78604460dc.tar.gz
linux-36ec2ddc0d9309d52e14eb84c0807a78604460dc.tar.bz2
linux-36ec2ddc0d9309d52e14eb84c0807a78604460dc.zip
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/sbp')
-rw-r--r--drivers/target/sbp/sbp_target.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/target/sbp/sbp_target.c b/drivers/target/sbp/sbp_target.c
index 6c8b8f84a047..58bb6ed18185 100644
--- a/drivers/target/sbp/sbp_target.c
+++ b/drivers/target/sbp/sbp_target.c
@@ -1726,11 +1726,6 @@ static void sbp_release_cmd(struct se_cmd *se_cmd)
sbp_free_request(req);
}
-static void sbp_close_session(struct se_session *se_sess)
-{
- return;
-}
-
static u32 sbp_sess_get_index(struct se_session *se_sess)
{
return 0;
@@ -2344,7 +2339,6 @@ static const struct target_core_fabric_ops sbp_ops = {
.tpg_check_prod_mode_write_protect = sbp_check_false,
.tpg_get_inst_index = sbp_tpg_get_inst_index,
.release_cmd = sbp_release_cmd,
- .close_session = sbp_close_session,
.sess_get_index = sbp_sess_get_index,
.write_pending = sbp_write_pending,
.write_pending_status = sbp_write_pending_status,