Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 181324
b: refs/heads/master
c: a9a44cb
h: refs/heads/master
v: v3
  • Loading branch information
Stephen M. Cameron authored and James Bottomley committed Feb 17, 2010
1 parent 6ede3ce commit a814015
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ea6d3bc3143a21ec5e1c9330555b36d67979431d
refs/heads/master: a9a44cbd4b41bf4b9535c1eb7f5e942d8b2e9d54
6 changes: 0 additions & 6 deletions trunk/drivers/scsi/hpsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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,
Expand Down

0 comments on commit a814015

Please sign in to comment.