|
@@ -1872,7 +1872,6 @@ int fc_queuecommand(struct Scsi_Host *shost, struct scsi_cmnd *sc_cmd)
|
|
struct fc_lport *lport = shost_priv(shost);
|
|
struct fc_lport *lport = shost_priv(shost);
|
|
struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device));
|
|
struct fc_rport *rport = starget_to_rport(scsi_target(sc_cmd->device));
|
|
struct fc_fcp_pkt *fsp;
|
|
struct fc_fcp_pkt *fsp;
|
|
- struct fc_rport_libfc_priv *rpriv;
|
|
|
|
int rval;
|
|
int rval;
|
|
int rc = 0;
|
|
int rc = 0;
|
|
struct fc_stats *stats;
|
|
struct fc_stats *stats;
|
|
@@ -1894,8 +1893,6 @@ int fc_queuecommand(struct Scsi_Host *shost, struct scsi_cmnd *sc_cmd)
|
|
goto out;
|
|
goto out;
|
|
}
|
|
}
|
|
|
|
|
|
- rpriv = rport->dd_data;
|
|
|
|
-
|
|
|
|
if (!fc_fcp_lport_queue_ready(lport)) {
|
|
if (!fc_fcp_lport_queue_ready(lport)) {
|
|
if (lport->qfull) {
|
|
if (lport->qfull) {
|
|
if (fc_fcp_can_queue_ramp_down(lport))
|
|
if (fc_fcp_can_queue_ramp_down(lport))
|