mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
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>
This commit is contained in:
parent
11fee8a751
commit
b79fafac70
10 changed files with 28 additions and 28 deletions
|
@ -786,7 +786,7 @@ static int tcm_loop_queue_status(struct se_cmd *se_cmd)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int tcm_loop_queue_tm_rsp(struct se_cmd *se_cmd)
|
||||
static void tcm_loop_queue_tm_rsp(struct se_cmd *se_cmd)
|
||||
{
|
||||
struct se_tmr_req *se_tmr = se_cmd->se_tmr_req;
|
||||
struct tcm_loop_tmr *tl_tmr = se_tmr->fabric_tmr_ptr;
|
||||
|
@ -796,7 +796,6 @@ static int tcm_loop_queue_tm_rsp(struct se_cmd *se_cmd)
|
|||
*/
|
||||
atomic_set(&tl_tmr->tmr_complete, 1);
|
||||
wake_up(&tl_tmr->tl_tmr_wait);
|
||||
return 0;
|
||||
}
|
||||
|
||||
static char *tcm_loop_dump_proto_id(struct tcm_loop_hba *tl_hba)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue