diff options
author | Stephen M. Cameron <scameron@beardog.cce.hp.com> | 2010-05-27 22:14:24 +0200 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 19:01:15 +0200 |
commit | 873f339fc53750c1e715f5e1d2dfdb9869b7ea3f (patch) | |
tree | 9b599ca1dc72ecfdc25967fccab3ddb6d0a9c74b /drivers | |
parent | [SCSI] hpsa: factor out hpsa_enter_performant_mode (diff) | |
download | linux-873f339fc53750c1e715f5e1d2dfdb9869b7ea3f.tar.xz linux-873f339fc53750c1e715f5e1d2dfdb9869b7ea3f.zip |
[SCSI] hpsa: remove unused firm_ver member of the per-hba structure
Signed-off-by: Stephen M. Cameron <scameron@beardog.cce.hp.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/hpsa.c | 6 | ||||
-rw-r--r-- | drivers/scsi/hpsa.h | 1 |
2 files changed, 0 insertions, 7 deletions
diff --git a/drivers/scsi/hpsa.c b/drivers/scsi/hpsa.c index 3c51544db958..50fddf84e47f 100644 --- a/drivers/scsi/hpsa.c +++ b/drivers/scsi/hpsa.c @@ -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], diff --git a/drivers/scsi/hpsa.h b/drivers/scsi/hpsa.h index 1bb5233b09a0..a203ef65cb50 100644 --- a/drivers/scsi/hpsa.h +++ b/drivers/scsi/hpsa.h @@ -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; |