staging: crystalhd: fix a style warning
authorDevendra Naga <devendra.aaru@gmail.com>
Mon, 15 Oct 2012 17:29:18 +0000 (13:29 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Oct 2012 20:35:37 +0000 (13:35 -0700)
we dont need braces around a single statement blocks

style WARNINGS:
drivers/staging/crystalhd/crystalhd_cmds.c:311: WARNING: braces {} are not necessary for any arm of this statement

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/crystalhd/crystalhd_cmds.c

index 05fe78748dfcaf6b330c907443e5ac5b4e87c504..8b71131732d8ff5e45cb92d40e07e62ab138f27f 100644 (file)
@@ -308,9 +308,9 @@ static enum BC_STATUS bc_cproc_download_fw(struct crystalhd_cmd *ctx,
        sts = crystalhd_download_fw(ctx->adp, (uint8_t *)idata->add_cdata,
                                  idata->add_cdata_sz);
 
-       if (sts != BC_STS_SUCCESS) {
+       if (sts != BC_STS_SUCCESS)
                BCMLOG_ERR("Firmware Download Failure!! - %d\n", sts);
-       else
+       else
                ctx->state |= BC_LINK_INIT;
 
        return sts;