diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2007-09-20 17:07:45 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.localdomain> | 2007-10-12 14:50:22 -0400 |
commit | f363b9434a464e72927b468ba33cb548f482669f (patch) | |
tree | c6e21249030879401929ec66c3fbea19c56527c5 /drivers/scsi/qla2xxx/qla_def.h | |
parent | e745759a0f662992327537be4ec01d9a43542fc4 (diff) |
[SCSI] qla2xxx: Use shost_priv().
Drop usage of legacy to_qla_host() macro.
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_def.h')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_def.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h index b928e31afe8e..1900fbf6cd74 100644 --- a/drivers/scsi/qla2xxx/qla_def.h +++ b/drivers/scsi/qla2xxx/qla_def.h | |||
@@ -2545,8 +2545,6 @@ typedef struct scsi_qla_host { | |||
2545 | test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags) || \ | 2545 | test_bit(LOOP_RESYNC_NEEDED, &ha->dpc_flags) || \ |
2546 | atomic_read(&ha->loop_state) == LOOP_DOWN) | 2546 | atomic_read(&ha->loop_state) == LOOP_DOWN) |
2547 | 2547 | ||
2548 | #define to_qla_host(x) ((scsi_qla_host_t *) (x)->hostdata) | ||
2549 | |||
2550 | #define qla_printk(level, ha, format, arg...) \ | 2548 | #define qla_printk(level, ha, format, arg...) \ |
2551 | dev_printk(level , &((ha)->pdev->dev) , format , ## arg) | 2549 | dev_printk(level , &((ha)->pdev->dev) , format , ## arg) |
2552 | 2550 | ||