Fixed the following checkpatch complaints:
authorbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sat, 3 Oct 2009 14:53:32 +0000 (14:53 +0000)
committerbvassche <bvassche@d57e44dd-8a1f-0410-8b47-8ef2f437770f>
Sat, 3 Oct 2009 14:53:32 +0000 (14:53 +0000)
- WARNING: labels should not be indented
- WARNING: braces {} are not necessary for single statement blocks

git-svn-id: https://scst.svn.sourceforge.net/svnroot/scst/trunk@1174 d57e44dd-8a1f-0410-8b47-8ef2f437770f

qla2x00t/qla_init.c
qla2x00t/qla_mbx.c

index 126d7e8..70c13c4 100644 (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);
 }
index c558c56..ba56380 100644 (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;