Fixed the following checkpatch complaints:

- WARNING: labels should not be indented
- WARNING: braces {} are not necessary for single statement blocks


git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@1174 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
Bart Van Assche
2009-10-03 14:53:32 +00:00
parent 6ad9eb54ef
commit 420865b354
2 changed files with 2 additions and 3 deletions
+1 -2
View File
@@ -3370,9 +3370,8 @@ qla2x00_loop_resync(scsi_qla_host_t *ha)
return (QLA_FUNCTION_FAILED);
}
if (rval != QLA_SUCCESS) {
if (rval != QLA_SUCCESS)
DEBUG2_3(printk("%s(): **** FAILED ****\n", __func__));
}
return (rval);
}
+1 -1
View File
@@ -1179,7 +1179,7 @@ qla2x00_get_port_database(scsi_qla_host_t *ha, fc_port_t *fcport, uint8_t opt)
/* Passback COS information. */
fcport->supported_classes = (pd24->flags & PDF_CLASS_2) ?
FC_COS_CLASS2: FC_COS_CLASS3;
FC_COS_CLASS2 : FC_COS_CLASS3;
if (pd24->prli_svc_param_word_3[0] & BIT_7)
fcport->conf_compl_supported = 1;