Skip to content

Commit

Permalink
[SCSI] hpsa: remove unused firm_ver member of the per-hba structure
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
  • Loading branch information
Stephen M. Cameron authored and James Bottomley committed Jul 27, 2010
1 parent 6c311b5 commit 873f339
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions drivers/scsi/hpsa.c
Original file line number Diff line number Diff line change
Expand Up @@ -1440,12 +1440,6 @@ static int hpsa_update_device_info(struct ctlr_info *h,
goto bail_out;
}

/* As a side effect, record the firmware version number
* if we happen to be talking to the RAID controller.
*/
if (is_hba_lunid(scsi3addr))
memcpy(h->firm_ver, &inq_buff[32], 4);

this_device->devtype = (inq_buff[0] & 0x1f);
memcpy(this_device->scsi3addr, scsi3addr, 8);
memcpy(this_device->vendor, &inq_buff[8],
Expand Down
1 change: 0 additions & 1 deletion drivers/scsi/hpsa.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ struct ctlr_info {
int ctlr;
char devname[8];
char *product_name;
char firm_ver[4]; /* Firmware version */
struct pci_dev *pdev;
u32 board_id;
void __iomem *vaddr;
Expand Down

0 comments on commit 873f339

Please sign in to comment.