Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Devendra Naga and committed by
Greg Kroah-Hartman
a297ad93 605fba82

+2 -2
+2 -2
drivers/staging/crystalhd/crystalhd_cmds.c
··· 308 308 sts = crystalhd_download_fw(ctx->adp, (uint8_t *)idata->add_cdata, 309 309 idata->add_cdata_sz); 310 310 311 - if (sts != BC_STS_SUCCESS) { 311 + if (sts != BC_STS_SUCCESS) 312 312 BCMLOG_ERR("Firmware Download Failure!! - %d\n", sts); 313 - } else 313 + else 314 314 ctx->state |= BC_LINK_INIT; 315 315 316 316 return sts;