[SCSI] hpsa: remove unwanted debug code
authorStephen M. Cameron <scameron@beardog.cce.hp.com>
Thu, 4 Feb 2010 14:42:14 +0000 (08:42 -0600)
committerJames Bottomley <James.Bottomley@suse.de>
Wed, 17 Feb 2010 19:19:04 +0000 (13:19 -0600)
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/hpsa.c

index bd081fedc3a719a01fd6a14c91a59c68b582ed7e..45942007bdc7dee7386ad23c71198ea90e7c81e1 100644 (file)
@@ -1580,9 +1580,6 @@ static int hpsa_gather_lun_info(struct ctlr_info *h,
        }
        memcpy(nphysicals, &physdev->LUNListLength[0], sizeof(*nphysicals));
        *nphysicals = be32_to_cpu(*nphysicals) / 8;
-#ifdef DEBUG
-       dev_info(&h->pdev->dev, "number of physical luns is %d\n", *nphysicals);
-#endif
        if (*nphysicals > HPSA_MAX_PHYS_LUN) {
                dev_warn(&h->pdev->dev, "maximum physical LUNs (%d) exceeded."
                        "  %d LUNs ignored.\n", HPSA_MAX_PHYS_LUN,
@@ -1595,9 +1592,6 @@ static int hpsa_gather_lun_info(struct ctlr_info *h,
        }
        memcpy(nlogicals, &logdev->LUNListLength[0], sizeof(*nlogicals));
        *nlogicals = be32_to_cpu(*nlogicals) / 8;
-#ifdef DEBUG
-       dev_info(&h->pdev->dev, "number of logical luns is %d\n", *nlogicals);
-#endif
        /* Reject Logicals in excess of our max capability. */
        if (*nlogicals > HPSA_MAX_LUN) {
                dev_warn(&h->pdev->dev,