mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
[SCSI] libfc: rename rp to rdata in fc_disc_new_target()
Just rename the variable as per our naming convention. Signed-off-by: Robert Love <robert.w.love@intel.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
This commit is contained in:
parent
23f11f9076
commit
d3b33327ca
1 changed files with 4 additions and 4 deletions
|
@ -396,7 +396,7 @@ static int fc_disc_new_target(struct fc_disc *disc,
|
||||||
struct fc_rport_identifiers *ids)
|
struct fc_rport_identifiers *ids)
|
||||||
{
|
{
|
||||||
struct fc_lport *lport = disc->lport;
|
struct fc_lport *lport = disc->lport;
|
||||||
struct fc_rport_libfc_priv *rp;
|
struct fc_rport_libfc_priv *rdata;
|
||||||
int error = 0;
|
int error = 0;
|
||||||
|
|
||||||
if (rport && ids->port_name) {
|
if (rport && ids->port_name) {
|
||||||
|
@ -436,9 +436,9 @@ static int fc_disc_new_target(struct fc_disc *disc,
|
||||||
error = -ENOMEM;
|
error = -ENOMEM;
|
||||||
}
|
}
|
||||||
if (rport) {
|
if (rport) {
|
||||||
rp = rport->dd_data;
|
rdata = rport->dd_data;
|
||||||
rp->ops = &fc_disc_rport_ops;
|
rdata->ops = &fc_disc_rport_ops;
|
||||||
rp->rp_state = RPORT_ST_INIT;
|
rdata->rp_state = RPORT_ST_INIT;
|
||||||
lport->tt.rport_login(rport);
|
lport->tt.rport_login(rport);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue