diff options
author | Hannes Reinecke <hare@suse.de> | 2016-10-18 10:01:35 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-11-08 23:29:54 +0100 |
commit | 7ab24dd16579514d261a669aa3b9e19220df5456 (patch) | |
tree | c5ee0e44cf9da05176106df66867cc7b0050147f /include/scsi/libfc.h | |
parent | scsi: ibmvscsis: Issues from Dan Carpenter/Smatch (diff) | |
download | linux-7ab24dd16579514d261a669aa3b9e19220df5456.tar.xz linux-7ab24dd16579514d261a669aa3b9e19220df5456.zip |
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 <hare@suse.com>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Acked-by: Johannes Thumshirn <jth@kernel.org>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi/libfc.h')
-rw-r--r-- | include/scsi/libfc.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index f5aa54b40e75..0e9580311e60 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h @@ -553,14 +553,6 @@ struct libfc_function_template { 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 *)); |