]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
qla2xxx: Remove mapped vp index iterator macro dead code.
authorHimanshu Madhani <himanshu.madhani@qlogic.com>
Fri, 11 Apr 2014 20:54:42 +0000 (16:54 -0400)
committerChristoph Hellwig <hch@lst.de>
Mon, 19 May 2014 11:31:05 +0000 (13:31 +0200)
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>
drivers/scsi/qla2xxx/qla_fw.h

index 2cdedd9e9f4d1200edb088b84b7257c1dbfb343d..eb8f57249f1dd6e1613d874562b9df0695100072 100644 (file)
@@ -1137,13 +1137,6 @@ struct device_reg_24xx {
 #define MIN_MULTI_ID_FABRIC    64      /* Must be power-of-2. */
 #define MAX_MULTI_ID_FABRIC    256     /* ... */
 
-#define for_each_mapped_vp_idx(_ha, _idx)              \
-       for (_idx = find_next_bit((_ha)->vp_idx_map,    \
-               (_ha)->max_npiv_vports + 1, 1);         \
-           _idx <= (_ha)->max_npiv_vports;             \
-           _idx = find_next_bit((_ha)->vp_idx_map,     \
-               (_ha)->max_npiv_vports + 1, _idx + 1))  \
-
 struct mid_conf_entry_24xx {
        uint16_t reserved_1;