mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
scsi: libfc: Replace ->seq_release callback with function call
The ->seq_release callback only ever had one implementation, so call the function 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
96d564e24a
commit
9625cc483b
3 changed files with 4 additions and 12 deletions
|
|
@ -92,7 +92,7 @@ static void ft_free_cmd(struct ft_cmd *cmd)
|
|||
fp = cmd->req_frame;
|
||||
lport = fr_dev(fp);
|
||||
if (fr_seq(fp))
|
||||
lport->tt.seq_release(fr_seq(fp));
|
||||
fc_seq_release(fr_seq(fp));
|
||||
fc_frame_free(fp);
|
||||
percpu_ida_free(&sess->se_sess->sess_tag_pool, cmd->se_cmd.map_tag);
|
||||
ft_sess_put(sess); /* undo get from lookup at recv */
|
||||
|
|
|
|||
Loading…
Reference in a new issue