mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 16:11:45 +00:00
scsi: libfc: Replace ->seq_start_next callback with function call
The ->seq_start_next 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>
This commit is contained in:
parent
768c72cc34
commit
c6865b30be
6 changed files with 9 additions and 17 deletions
|
@ -514,13 +514,6 @@ struct libfc_function_template {
|
|||
*/
|
||||
void (*get_lesb)(struct fc_lport *, struct fc_els_lesb *lesb);
|
||||
|
||||
/*
|
||||
* Start a new sequence on the same exchange/sequence tuple.
|
||||
*
|
||||
* STATUS: OPTIONAL
|
||||
*/
|
||||
struct fc_seq *(*seq_start_next)(struct fc_seq *);
|
||||
|
||||
/*
|
||||
* Set a response handler for the exchange of the sequence.
|
||||
*
|
||||
|
@ -1019,6 +1012,7 @@ struct fc_seq *fc_exch_seq_send(struct fc_lport *lport,
|
|||
void *arg, u32 timer_msec);
|
||||
void fc_seq_els_rsp_send(struct fc_frame *, enum fc_els_cmd,
|
||||
struct fc_seq_els_data *);
|
||||
struct fc_seq *fc_seq_start_next(struct fc_seq *sp);
|
||||
struct fc_exch_mgr_anchor *fc_exch_mgr_add(struct fc_lport *,
|
||||
struct fc_exch_mgr *,
|
||||
bool (*match)(struct fc_frame *));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue