summaryrefslogtreecommitdiffstats
path: root/drivers/staging/crystalhd
diff options
context:
space:
mode:
authorDevendra Naga <devendra.aaru@gmail.com>2012-10-15 13:29:18 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-10-22 13:35:37 -0700
commita297ad936ebd6d22b59bbed7d77caa6ff045caa6 (patch)
treec236977bebab89b7b5b6142254840a9b3a91e66a /drivers/staging/crystalhd
parent605fba82a2d6f8e19b7530805b792487562429a7 (diff)
downloadblackbird-op-linux-a297ad936ebd6d22b59bbed7d77caa6ff045caa6.tar.gz
blackbird-op-linux-a297ad936ebd6d22b59bbed7d77caa6ff045caa6.zip
staging: crystalhd: fix a style warning
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>
Diffstat (limited to 'drivers/staging/crystalhd')
-rw-r--r--drivers/staging/crystalhd/crystalhd_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/crystalhd/crystalhd_cmds.c b/drivers/staging/crystalhd/crystalhd_cmds.c
index 05fe78748dfc..8b71131732d8 100644
--- a/drivers/staging/crystalhd/crystalhd_cmds.c
+++ b/drivers/staging/crystalhd/crystalhd_cmds.c
@@ -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;
OpenPOWER on IntegriCloud