mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
scsi: libfc: Replace ->rport_flush_queue callback with function call
The ->rport_flush_queue callback only ever had a single implementation, so we can as well call it 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
e76ee65fa6
commit
5922a95745
5 changed files with 6 additions and 14 deletions
|
|
@ -582,13 +582,6 @@ struct libfc_function_template {
|
|||
*/
|
||||
void (*exch_mgr_reset)(struct fc_lport *, u32 s_id, u32 d_id);
|
||||
|
||||
/*
|
||||
* Flush the rport work queue. Generally used before shutdown.
|
||||
*
|
||||
* STATUS: OPTIONAL
|
||||
*/
|
||||
void (*rport_flush_queue)(void);
|
||||
|
||||
/*
|
||||
* Set the local port FC_ID.
|
||||
*
|
||||
|
|
@ -994,6 +987,7 @@ void fc_rport_destroy(struct kref *kref);
|
|||
int fc_rport_login(struct fc_rport_priv *rdata);
|
||||
int fc_rport_logoff(struct fc_rport_priv *rdata);
|
||||
void fc_rport_recv_req(struct fc_lport *lport, struct fc_frame *fp);
|
||||
void fc_rport_flush_queue(void);
|
||||
|
||||
/*
|
||||
* DISCOVERY LAYER
|
||||
|
|
|
|||
Loading…
Reference in a new issue