mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 10:41:38 -04:00
scsi: libfc: Replace ->seq_els_rsp_send callback with function call
The 'seq_els_rsp_send' callback only ever had one implementation, so we might as well drop it and use the function directly. Signed-off-by: Hannes Reinecke <[email protected]> Acked-by: Johannes Thumshirn <[email protected]> Acked-by: Johannes Thumshirn <[email protected]> Signed-off-by: Martin K. Petersen <[email protected]>
This commit is contained in:
parent
11950d70b5
commit
7ab24dd165
6 changed files with 24 additions and 32 deletions
|
|
@ -552,14 +552,6 @@ struct libfc_function_template {
|
|||
int (*seq_send)(struct fc_lport *, struct fc_seq *,
|
||||
struct fc_frame *);
|
||||
|
||||
/*
|
||||
* Send an ELS response using information from the received frame.
|
||||
*
|
||||
* STATUS: OPTIONAL
|
||||
*/
|
||||
void (*seq_els_rsp_send)(struct fc_frame *, enum fc_els_cmd,
|
||||
struct fc_seq_els_data *);
|
||||
|
||||
/*
|
||||
* Abort an exchange and sequence. Generally called because of a
|
||||
* exchange timeout or an abort from the upper layer.
|
||||
|
|
@ -1138,6 +1130,8 @@ void fc_fill_hdr(struct fc_frame *, const struct fc_frame *,
|
|||
*****************************/
|
||||
int fc_exch_init(struct fc_lport *);
|
||||
void fc_exch_update_stats(struct fc_lport *lport);
|
||||
void fc_seq_els_rsp_send(struct fc_frame *, enum fc_els_cmd,
|
||||
struct fc_seq_els_data *);
|
||||
struct fc_exch_mgr_anchor *fc_exch_mgr_add(struct fc_lport *,
|
||||
struct fc_exch_mgr *,
|
||||
bool (*match)(struct fc_frame *));
|
||||
|
|
|
|||
Loading…
Reference in a new issue