diff options
author | Andrew Vasquez <andrew.vasquez@qlogic.com> | 2006-06-23 19:11:05 -0400 |
---|---|---|
committer | James Bottomley <jejb@mulgrave.il.steeleye.com> | 2006-06-26 17:24:07 -0400 |
commit | 744f11fdb1118c9306303529263e5ed09b463a0f (patch) | |
tree | d6a865da1e83cc9b892eaa328d1102e18e73f899 /drivers/scsi/qla2xxx/qla_os.c | |
parent | 7469059d52c5f762890cc060ef3f0452c097b91e (diff) |
[SCSI] qla2xxx: Cleanup DEBUG macro usage.
- macro usage statements should terminate with a ';'
- remove unused macros.
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_os.c')
-rw-r--r-- | drivers/scsi/qla2xxx/qla_os.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/scsi/qla2xxx/qla_os.c b/drivers/scsi/qla2xxx/qla_os.c index 0c6e33456f50..fedf2f17808d 100644 --- a/drivers/scsi/qla2xxx/qla_os.c +++ b/drivers/scsi/qla2xxx/qla_os.c | |||
@@ -631,7 +631,7 @@ qla2xxx_eh_abort(struct scsi_cmnd *cmd) | |||
631 | 631 | ||
632 | DEBUG2(printk("%s(%ld): aborting sp %p from RISC. pid=%ld.\n", | 632 | DEBUG2(printk("%s(%ld): aborting sp %p from RISC. pid=%ld.\n", |
633 | __func__, ha->host_no, sp, serial)); | 633 | __func__, ha->host_no, sp, serial)); |
634 | DEBUG3(qla2x00_print_scsi_cmd(cmd);) | 634 | DEBUG3(qla2x00_print_scsi_cmd(cmd)); |
635 | 635 | ||
636 | spin_unlock_irqrestore(&ha->hardware_lock, flags); | 636 | spin_unlock_irqrestore(&ha->hardware_lock, flags); |
637 | if (ha->isp_ops.abort_command(ha, sp)) { | 637 | if (ha->isp_ops.abort_command(ha, sp)) { |
@@ -773,7 +773,7 @@ qla2xxx_eh_device_reset(struct scsi_cmnd *cmd) | |||
773 | #endif | 773 | #endif |
774 | } else { | 774 | } else { |
775 | DEBUG2(printk(KERN_INFO | 775 | DEBUG2(printk(KERN_INFO |
776 | "%s failed: loop not ready\n",__func__);) | 776 | "%s failed: loop not ready\n",__func__)); |
777 | } | 777 | } |
778 | 778 | ||
779 | if (ret == FAILED) { | 779 | if (ret == FAILED) { |
@@ -1028,12 +1028,12 @@ qla2x00_loop_reset(scsi_qla_host_t *ha) | |||
1028 | /* Empty */ | 1028 | /* Empty */ |
1029 | DEBUG2_3(printk("%s(%ld): **** FAILED ****\n", | 1029 | DEBUG2_3(printk("%s(%ld): **** FAILED ****\n", |
1030 | __func__, | 1030 | __func__, |
1031 | ha->host_no);) | 1031 | ha->host_no)); |
1032 | } else { | 1032 | } else { |
1033 | /* Empty */ | 1033 | /* Empty */ |
1034 | DEBUG3(printk("%s(%ld): exiting normally.\n", | 1034 | DEBUG3(printk("%s(%ld): exiting normally.\n", |
1035 | __func__, | 1035 | __func__, |
1036 | ha->host_no);) | 1036 | ha->host_no)); |
1037 | } | 1037 | } |
1038 | 1038 | ||
1039 | return(status); | 1039 | return(status); |