Skip to content

Commit 873f339

Browse files
Stephen M. CameronJames Bottomley
authored andcommitted
[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>
1 parent 6c311b5 commit 873f339

2 files changed

Lines changed: 0 additions & 7 deletions

File tree

‎drivers/scsi/hpsa.c‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1440,12 +1440,6 @@ static int hpsa_update_device_info(struct ctlr_info *h,
14401440
goto bail_out;
14411441
}
14421442

1443-
/* As a side effect, record the firmware version number
1444-
* if we happen to be talking to the RAID controller.
1445-
*/
1446-
if (is_hba_lunid(scsi3addr))
1447-
memcpy(h->firm_ver, &inq_buff[32], 4);
1448-
14491443
this_device->devtype = (inq_buff[0] & 0x1f);
14501444
memcpy(this_device->scsi3addr, scsi3addr, 8);
14511445
memcpy(this_device->vendor, &inq_buff[8],

‎drivers/scsi/hpsa.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ struct ctlr_info {
5353
int ctlr;
5454
char devname[8];
5555
char *product_name;
56-
char firm_ver[4]; /* Firmware version */
5756
struct pci_dev *pdev;
5857
u32 board_id;
5958
void __iomem *vaddr;

0 commit comments

Comments
 (0)