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 23:29:54 +0100 |
commit | 31c0a631a430b01e05ff1e35f287fb8dfa0ef519 (patch) | |
tree | 22ab891c511d460be8020a434b03d2ca7f20aae0 /drivers/scsi/libfc/fc_lport.c | |
parent | scsi: libfc: Replace ->seq_els_rsp_send callback with function call (diff) | |
download | linux-31c0a631a430b01e05ff1e35f287fb8dfa0ef519.tar.xz linux-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 'drivers/scsi/libfc/fc_lport.c')
-rw-r--r-- | drivers/scsi/libfc/fc_lport.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c index bf79c9bd2a14..05f83a65cc1e 100644 --- a/drivers/scsi/libfc/fc_lport.c +++ b/drivers/scsi/libfc/fc_lport.c @@ -1868,9 +1868,6 @@ int fc_lport_init(struct fc_lport *lport) if (!lport->tt.lport_recv) lport->tt.lport_recv = fc_lport_recv_req; - if (!lport->tt.lport_reset) - lport->tt.lport_reset = fc_lport_reset; - fc_host_port_type(lport->host) = FC_PORTTYPE_NPORT; fc_host_node_name(lport->host) = lport->wwnn; fc_host_port_name(lport->host) = lport->wwpn; |