diff options
author | Himanshu Madhani <himanshu.madhani@qlogic.com> | 2014-04-11 16:54:42 -0400 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2014-05-19 07:31:05 -0400 |
commit | 5921cda6c1a402bacbfa5c97bbb7039eb0fd9dd8 (patch) | |
tree | 01c98622a33d35ebf894008dd61cd1329a724e3b /drivers/scsi/qla2xxx | |
parent | 51e748838c6a31cd1f6b1333517b2ea883d57488 (diff) |
qla2xxx: Remove mapped vp index iterator macro dead code.
Signed-off-by: Himanshu Madhani <himanshu.madhani@qlogic.com>
Signed-off-by: Saurav Kashyap <saurav.kashyap@qlogic.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/scsi/qla2xxx')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_fw.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/scsi/qla2xxx/qla_fw.h b/drivers/scsi/qla2xxx/qla_fw.h index 2cdedd9e9f4d..eb8f57249f1d 100644 --- a/drivers/scsi/qla2xxx/qla_fw.h +++ b/drivers/scsi/qla2xxx/qla_fw.h | |||
@@ -1137,13 +1137,6 @@ struct device_reg_24xx { | |||
1137 | #define MIN_MULTI_ID_FABRIC 64 /* Must be power-of-2. */ | 1137 | #define MIN_MULTI_ID_FABRIC 64 /* Must be power-of-2. */ |
1138 | #define MAX_MULTI_ID_FABRIC 256 /* ... */ | 1138 | #define MAX_MULTI_ID_FABRIC 256 /* ... */ |
1139 | 1139 | ||
1140 | #define for_each_mapped_vp_idx(_ha, _idx) \ | ||
1141 | for (_idx = find_next_bit((_ha)->vp_idx_map, \ | ||
1142 | (_ha)->max_npiv_vports + 1, 1); \ | ||
1143 | _idx <= (_ha)->max_npiv_vports; \ | ||
1144 | _idx = find_next_bit((_ha)->vp_idx_map, \ | ||
1145 | (_ha)->max_npiv_vports + 1, _idx + 1)) \ | ||
1146 | |||
1147 | struct mid_conf_entry_24xx { | 1140 | struct mid_conf_entry_24xx { |
1148 | uint16_t reserved_1; | 1141 | uint16_t reserved_1; |
1149 | 1142 | ||