summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_sup.c
diff options
context:
space:
mode:
authorandrew.vasquez@qlogic.com <andrew.vasquez@qlogic.com>2006-03-09 23:27:08 +0100
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-03-12 16:37:24 +0100
commitea5b6382fde00e0dbcd0de2e4aa2fd15705e5fc3 (patch)
tree0ab005b73710821d916773c5d40eb3cfe69d84b1 /drivers/scsi/qla2xxx/qla_sup.c
parent[SCSI] fix two leaks in scsi_alloc_sdev failure paths (diff)
downloadlinux-ea5b6382fde00e0dbcd0de2e4aa2fd15705e5fc3.tar.xz
linux-ea5b6382fde00e0dbcd0de2e4aa2fd15705e5fc3.zip
[SCSI] qla2xxx: Convert IS_QLA*() defines to bit-operations.
Signed-off-by: Andrew Vasquez <andrew.vasquez@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_sup.c')
-rw-r--r--drivers/scsi/qla2xxx/qla_sup.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/scsi/qla2xxx/qla_sup.c b/drivers/scsi/qla2xxx/qla_sup.c
index 8d68c463cd5b..8b0121dceb01 100644
--- a/drivers/scsi/qla2xxx/qla_sup.c
+++ b/drivers/scsi/qla2xxx/qla_sup.c
@@ -1191,11 +1191,6 @@ qla2x00_poll_flash(scsi_qla_host_t *ha, uint32_t addr, uint8_t poll_data,
return status;
}
-#define IS_OEM_001(ha) \
- ((ha)->pdev->device == PCI_DEVICE_ID_QLOGIC_ISP2322 && \
- (ha)->pdev->subsystem_vendor == 0x1028 && \
- (ha)->pdev->subsystem_device == 0x0170)
-
/**
* qla2x00_program_flash_address() - Programs a flash address
* @ha: HA context