mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-07 20:09:05 +00:00
scsi: libfc: Remove fc_rport_init()
Function is empty now and can be removed. Signed-off-by: Hannes Reinecke <hare@suse.com> Acked-by: Johannes Thumshirn <jth@kernel.org> Reviewed-by: Chad Dupuis <chad.dupuis@cavium.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
5922a95745
commit
a8220ded09
@ -970,7 +970,6 @@ static int bnx2fc_libfc_config(struct fc_lport *lport)
|
|||||||
sizeof(struct libfc_function_template));
|
sizeof(struct libfc_function_template));
|
||||||
fc_elsct_init(lport);
|
fc_elsct_init(lport);
|
||||||
fc_exch_init(lport);
|
fc_exch_init(lport);
|
||||||
fc_rport_init(lport);
|
|
||||||
fc_disc_init(lport);
|
fc_disc_init(lport);
|
||||||
fc_disc_config(lport, lport);
|
fc_disc_config(lport, lport);
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -3235,7 +3235,6 @@ int fcoe_libfc_config(struct fc_lport *lport, struct fcoe_ctlr *fip,
|
|||||||
fc_exch_init(lport);
|
fc_exch_init(lport);
|
||||||
fc_elsct_init(lport);
|
fc_elsct_init(lport);
|
||||||
fc_lport_init(lport);
|
fc_lport_init(lport);
|
||||||
fc_rport_init(lport);
|
|
||||||
fc_disc_init(lport);
|
fc_disc_init(lport);
|
||||||
fcoe_ctlr_mode_set(lport, fip, fip->mode);
|
fcoe_ctlr_mode_set(lport, fip, fip->mode);
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -2181,16 +2181,6 @@ void fc_rport_flush_queue(void)
|
|||||||
}
|
}
|
||||||
EXPORT_SYMBOL(fc_rport_flush_queue);
|
EXPORT_SYMBOL(fc_rport_flush_queue);
|
||||||
|
|
||||||
/**
|
|
||||||
* fc_rport_init() - Initialize the remote port layer for a local port
|
|
||||||
* @lport: The local port to initialize the remote port layer for
|
|
||||||
*/
|
|
||||||
int fc_rport_init(struct fc_lport *lport)
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
EXPORT_SYMBOL(fc_rport_init);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* fc_rport_fcp_prli() - Handle incoming PRLI for the FCP initiator.
|
* fc_rport_fcp_prli() - Handle incoming PRLI for the FCP initiator.
|
||||||
* @rdata: remote port private
|
* @rdata: remote port private
|
||||||
|
@ -978,7 +978,6 @@ void fc_lport_iterate(void (*func)(struct fc_lport *, void *), void *);
|
|||||||
/*
|
/*
|
||||||
* REMOTE PORT LAYER
|
* REMOTE PORT LAYER
|
||||||
*****************************/
|
*****************************/
|
||||||
int fc_rport_init(struct fc_lport *);
|
|
||||||
void fc_rport_terminate_io(struct fc_rport *);
|
void fc_rport_terminate_io(struct fc_rport *);
|
||||||
struct fc_rport_priv *fc_rport_lookup(const struct fc_lport *lport,
|
struct fc_rport_priv *fc_rport_lookup(const struct fc_lport *lport,
|
||||||
u32 port_id);
|
u32 port_id);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user