Skip to content

Commit

Permalink
staging: crystalhd: fix a style warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Devendra Naga authored and Greg Kroah-Hartman committed Oct 22, 2012
1 parent 605fba8 commit a297ad9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/staging/crystalhd/crystalhd_cmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a297ad9

Please sign in to comment.