mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
scsi: libfc: Replace ->seq_set_resp callback with direct function call
The ->seq_set_resp callback only ever had one implementation, so call it directly and drop the callback. Signed-off-by: Hannes Reinecke <[email protected]> Acked-by: Johannes Thumshirn <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
This commit is contained in:
parent
c6865b30be
commit
f1d61e6e68
3 changed files with 8 additions and 18 deletions
|
|
@ -563,7 +563,7 @@ static void ft_send_work(struct work_struct *work)
|
|||
task_attr = TCM_SIMPLE_TAG;
|
||||
}
|
||||
|
||||
fc_seq_exch(cmd->seq)->lp->tt.seq_set_resp(cmd->seq, ft_recv_seq, cmd);
|
||||
fc_seq_set_resp(cmd->seq, ft_recv_seq, cmd);
|
||||
cmd->se_cmd.tag = fc_seq_exch(cmd->seq)->rxid;
|
||||
/*
|
||||
* Use a single se_cmd->cmd_kref as we expect to release se_cmd
|
||||
|
|
|
|||
Loading…
Reference in a new issue