diff options
Diffstat (limited to 'drivers/scsi/hpsa.c')
-rw-r--r-- | drivers/scsi/hpsa.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index bd081fedc3a7..45942007bdc7 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c | |||
@@ -1580,9 +1580,6 @@ static int hpsa_gather_lun_info(struct ctlr_info *h, | |||
1580 | } | 1580 | } |
1581 | memcpy(nphysicals, &physdev->LUNListLength[0], sizeof(*nphysicals)); | 1581 | memcpy(nphysicals, &physdev->LUNListLength[0], sizeof(*nphysicals)); |
1582 | *nphysicals = be32_to_cpu(*nphysicals) / 8; | 1582 | *nphysicals = be32_to_cpu(*nphysicals) / 8; |
1583 | #ifdef DEBUG | ||
1584 | dev_info(&h->pdev->dev, "number of physical luns is %d\n", *nphysicals); | ||
1585 | #endif | ||
1586 | if (*nphysicals > HPSA_MAX_PHYS_LUN) { | 1583 | if (*nphysicals > HPSA_MAX_PHYS_LUN) { |
1587 | dev_warn(&h->pdev->dev, "maximum physical LUNs (%d) exceeded." | 1584 | dev_warn(&h->pdev->dev, "maximum physical LUNs (%d) exceeded." |
1588 | " %d LUNs ignored.\n", HPSA_MAX_PHYS_LUN, | 1585 | " %d LUNs ignored.\n", HPSA_MAX_PHYS_LUN, |
@@ -1595,9 +1592,6 @@ static int hpsa_gather_lun_info(struct ctlr_info *h, | |||
1595 | } | 1592 | } |
1596 | memcpy(nlogicals, &logdev->LUNListLength[0], sizeof(*nlogicals)); | 1593 | memcpy(nlogicals, &logdev->LUNListLength[0], sizeof(*nlogicals)); |
1597 | *nlogicals = be32_to_cpu(*nlogicals) / 8; | 1594 | *nlogicals = be32_to_cpu(*nlogicals) / 8; |
1598 | #ifdef DEBUG | ||
1599 | dev_info(&h->pdev->dev, "number of logical luns is %d\n", *nlogicals); | ||
1600 | #endif | ||
1601 | /* Reject Logicals in excess of our max capability. */ | 1595 | /* Reject Logicals in excess of our max capability. */ |
1602 | if (*nlogicals > HPSA_MAX_LUN) { | 1596 | if (*nlogicals > HPSA_MAX_LUN) { |
1603 | dev_warn(&h->pdev->dev, | 1597 | dev_warn(&h->pdev->dev, |