diff options
author | Hannes Reinecke <hare@suse.de> | 2016-10-18 10:01:53 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-11-08 17:29:56 -0500 |
commit | 96d564e24ac2b69fbfa2b81d48069ffeede549d7 (patch) | |
tree | 782b822b4c0235e00d10297eb801666e9cd4d021 /drivers/target | |
parent | f1d61e6e682cd241c145e6268be3a9f30af934eb (diff) | |
download | linux-96d564e24ac2b69fbfa2b81d48069ffeede549d7.tar.gz linux-96d564e24ac2b69fbfa2b81d48069ffeede549d7.tar.bz2 linux-96d564e24ac2b69fbfa2b81d48069ffeede549d7.zip |
scsi: libfc: Replace ->seq_assign callback with function call
The ->seq_assign callback only ever had one implementation,
so call the function directly and drop the callback.
Signed-off-by: Hannes Reinecke <hare@suse.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/target')
-rw-r--r-- | drivers/target/tcm_fc/tfc_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/target/tcm_fc/tfc_cmd.c b/drivers/target/tcm_fc/tfc_cmd.c index d6d06644f1da..962eff3d190d 100644 --- a/drivers/target/tcm_fc/tfc_cmd.c +++ b/drivers/target/tcm_fc/tfc_cmd.c @@ -461,7 +461,7 @@ static void ft_recv_cmd(struct ft_sess *sess, struct fc_frame *fp) cmd->se_cmd.map_tag = tag; cmd->sess = sess; - cmd->seq = lport->tt.seq_assign(lport, fp); + cmd->seq = fc_seq_assign(lport, fp); if (!cmd->seq) { percpu_ida_free(&se_sess->sess_tag_pool, tag); goto busy; |