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 /include/scsi | |
parent | f1d61e6e682cd241c145e6268be3a9f30af934eb (diff) | |
download | op-kernel-dev-96d564e24ac2b69fbfa2b81d48069ffeede549d7.zip op-kernel-dev-96d564e24ac2b69fbfa2b81d48069ffeede549d7.tar.gz |
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 'include/scsi')
-rw-r--r-- | include/scsi/libfc.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index e8669f9..2baa255 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h @@ -515,13 +515,6 @@ struct libfc_function_template { void (*get_lesb)(struct fc_lport *, struct fc_els_lesb *lesb); /* - * Assign a sequence for an incoming request frame. - * - * STATUS: OPTIONAL - */ - struct fc_seq *(*seq_assign)(struct fc_lport *, struct fc_frame *); - - /* * Release the reference on the sequence returned by seq_assign(). * * STATUS: OPTIONAL @@ -1006,6 +999,7 @@ struct fc_seq *fc_seq_start_next(struct fc_seq *sp); void fc_seq_set_resp(struct fc_seq *sp, void (*resp)(struct fc_seq *, struct fc_frame *, void *), void *arg); +struct fc_seq *fc_seq_assign(struct fc_lport *lport, struct fc_frame *fp); struct fc_exch_mgr_anchor *fc_exch_mgr_add(struct fc_lport *, struct fc_exch_mgr *, bool (*match)(struct fc_frame *)); |