diff options
author | Hannes Reinecke <hare@suse.de> | 2016-10-18 10:01:37 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2016-11-08 17:29:54 -0500 |
commit | c5cb444c31d1577d2dd207101ba9cf498e1c2d48 (patch) | |
tree | e9c8f435b76c12a08e316c82b1f0af284a2c4d46 /include | |
parent | 31c0a631a430b01e05ff1e35f287fb8dfa0ef519 (diff) | |
download | talos-obmc-linux-c5cb444c31d1577d2dd207101ba9cf498e1c2d48.tar.gz talos-obmc-linux-c5cb444c31d1577d2dd207101ba9cf498e1c2d48.zip |
scsi: libfc: Replace ->lport_recv with function call
The ->lport_recv callback only ever had one implementation,
so call the function directly and remove the callback.
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')
-rw-r--r-- | include/scsi/libfc.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/include/scsi/libfc.h b/include/scsi/libfc.h index 7ee0d2741192..7bba81ebb0e7 100644 --- a/include/scsi/libfc.h +++ b/include/scsi/libfc.h @@ -621,13 +621,6 @@ struct libfc_function_template { void (*rport_flush_queue)(void); /* - * Receive a frame for a local port. - * - * STATUS: OPTIONAL - */ - void (*lport_recv)(struct fc_lport *, struct fc_frame *); - - /* * Set the local port FC_ID. * * This may be provided by the LLD to allow it to be @@ -1060,6 +1053,7 @@ void fc_vport_setlink(struct fc_lport *); void fc_vports_linkchange(struct fc_lport *); int fc_lport_config(struct fc_lport *); int fc_lport_reset(struct fc_lport *); +void fc_lport_recv(struct fc_lport *lport, struct fc_frame *fp); int fc_set_mfs(struct fc_lport *, u32 mfs); struct fc_lport *libfc_vport_create(struct fc_vport *, int privsize); struct fc_lport *fc_vport_id_lookup(struct fc_lport *, u32 port_id); |