summaryrefslogtreecommitdiff
path: root/drivers/target/sbp
diff options
context:
space:
mode:
authorJoern Engel <joern@logfs.org>2013-07-03 19:22:17 +0400
committerNicholas Bellinger <nab@linux-iscsi.org>2013-07-08 05:36:53 +0400
commitb79fafac70fc9bbe640b8193ed772eb850efdfe6 (patch)
treeb99c39999610a4371563ec179d3b2e10a04c2df0 /drivers/target/sbp
parent11fee8a751670cf6d60b1912e2e9cb1c7e392842 (diff)
downloadlinux-b79fafac70fc9bbe640b8193ed772eb850efdfe6.tar.xz
target: make queue_tm_rsp() return void
The return value wasn't checked by any of the callers. Assuming this is correct behaviour, we can simplify some code by not bothering to generate it. nab: Add srpt_queue_data_in() + srpt_queue_tm_rsp() nops around srpt_queue_response() void return Signed-off-by: Joern Engel <joern@logfs.org> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/sbp')
-rw-r--r--drivers/target/sbp/sbp_target.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/target/sbp/sbp_target.c b/drivers/target/sbp/sbp_target.c
index d3536f57444f..e51b09a04d52 100644
--- a/drivers/target/sbp/sbp_target.c
+++ b/drivers/target/sbp/sbp_target.c
@@ -1842,9 +1842,8 @@ static int sbp_queue_status(struct se_cmd *se_cmd)
return sbp_send_sense(req);
}
-static int sbp_queue_tm_rsp(struct se_cmd *se_cmd)
+static void sbp_queue_tm_rsp(struct se_cmd *se_cmd)
{
- return 0;
}
static int sbp_check_stop_free(struct se_cmd *se_cmd)