aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/scsi/ibmmca.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/ibmmca.c b/drivers/scsi/ibmmca.c
index b60c1b9270f1..3a8462e8d063 100644
--- a/drivers/scsi/ibmmca.c
+++ b/drivers/scsi/ibmmca.c
@@ -2412,8 +2412,7 @@ static int ibmmca_proc_info(struct Scsi_Host *shpnt, char *buffer, char **start,
2412 spin_lock_irqsave(hosts[i]->host_lock, flags); /* Check it */ 2412 spin_lock_irqsave(hosts[i]->host_lock, flags); /* Check it */
2413 host_index = i; 2413 host_index = i;
2414 if (!shpnt) { 2414 if (!shpnt) {
2415 len += sprintf(buffer + len, "\nIBM MCA SCSI: Can't find adapter for host number %d\n", 2415 len += sprintf(buffer + len, "\nIBM MCA SCSI: Can't find adapter");
2416 shpnt->host_no);
2417 return len; 2416 return len;
2418 } 2417 }
2419 max_pun = subsystem_maxid(host_index); 2418 max_pun = subsystem_maxid(host_index);