mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-25 16:11:45 +00:00
scsi: libfc: Replace ->lport_reset callback with function call
The ->lport_reset callback only ever had one implementation, which already is exported. So remove it and use the function directly. 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
7ab24dd165
commit
31c0a631a4
4 changed files with 2 additions and 12 deletions
|
@ -627,13 +627,6 @@ struct libfc_function_template {
|
|||
*/
|
||||
void (*lport_recv)(struct fc_lport *, struct fc_frame *);
|
||||
|
||||
/*
|
||||
* Reset the local port.
|
||||
*
|
||||
* STATUS: OPTIONAL
|
||||
*/
|
||||
int (*lport_reset)(struct fc_lport *);
|
||||
|
||||
/*
|
||||
* Set the local port FC_ID.
|
||||
*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue