From 420865b35434b6fcf213be9c4956f651c8c9f07e Mon Sep 17 00:00:00 2001 From: Bart Van Assche Date: Sat, 3 Oct 2009 14:53:32 +0000 Subject: [PATCH] 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 --- qla2x00t/qla_init.c | 3 +-- qla2x00t/qla_mbx.c | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/qla2x00t/qla_init.c b/qla2x00t/qla_init.c index 126d7e81d..70c13c425 100644 --- a/qla2x00t/qla_init.c +++ b/qla2x00t/qla_init.c @@ -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); } diff --git a/qla2x00t/qla_mbx.c b/qla2x00t/qla_mbx.c index c558c561f..ba563803f 100644 --- a/qla2x00t/qla_mbx.c +++ b/qla2x00t/qla_mbx.c @@ -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;