diff options
author | Hannes Reinecke <hare@suse.de> | 2016-10-18 10:01:36 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-11-08 17:29:54 -0500 |
commit | 31c0a631a430b01e05ff1e35f287fb8dfa0ef519 (patch) | |
tree | 22ab891c511d460be8020a434b03d2ca7f20aae0 /include/scsi | |
parent | 7ab24dd16579514d261a669aa3b9e19220df5456 (diff) | |
download | linux-stable-31c0a631a430b01e05ff1e35f287fb8dfa0ef519.tar.gz linux-stable-31c0a631a430b01e05ff1e35f287fb8dfa0ef519.tar.bz2 linux-stable-31c0a631a430b01e05ff1e35f287fb8dfa0ef519.zip |
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>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/libfc.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index 0e9580311e60..7ee0d2741192 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h @@ -628,13 +628,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. * * This may be provided by the LLD to allow it to be |