mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Staging: crystalhd: crystalhd_cmds: fixed a brace issue
@ 2010-08-18 20:10 Gunnar Gudvardarson
  2010-08-31 22:05 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Gunnar Gudvardarson @ 2010-08-18 20:10 UTC (permalink / raw)
  To: gregkh; +Cc: devel, linux-kernel, Gunnar Gudvardarson

Fixed a brace issue.

Note: checkpatch was clean until i ran format-patch, which added 3
trailing whitespaces.

Signed-off-by: Gunnar Gudvardarson <gunni@wave.is>
---
 drivers/staging/crystalhd/crystalhd_cmds.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/staging/crystalhd/crystalhd_cmds.c b/drivers/staging/crystalhd/crystalhd_cmds.c
index 1429608..d423775 100644
--- a/drivers/staging/crystalhd/crystalhd_cmds.c
+++ b/drivers/staging/crystalhd/crystalhd_cmds.c
@@ -309,9 +309,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;
-- 
1.7.0.4


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-31 22:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-18 20:10 [PATCH] Staging: crystalhd: crystalhd_cmds: fixed a brace issue Gunnar Gudvardarson
2010-08-31 22:05 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome