diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2010-02-04 09:42:14 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-02-17 14:19:04 -0500 |
commit | a9a44cbd4b41bf4b9535c1eb7f5e942d8b2e9d54 (patch) | |
tree | 712c1ef728ec0688573755d4c171f75871f489e8 | |
parent | ea6d3bc3143a21ec5e1c9330555b36d67979431d (diff) |
[SCSI] hpsa: remove unwanted debug code
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
-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, |