[PATCHv2]: staging: Greybus: Remove unnecessary braces for single statement block
From: Rahul Krishnan
Date: Fri Nov 18 2016 - 08:35:06 EST
This patch fixes the following checkpath.pl warning
WARNING: braces {} are not necessary for single statement blocks
Fixed indentation error, noted by Dan Carpenter
Signed-off-by: Rahul Krishnan <mrahul.krishnan@xxxxxxxxx>
---
drivers/staging/greybus/sdio.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/greybus/sdio.c b/drivers/staging/greybus/sdio.c
index f60b458..66b37ea 100644
--- a/drivers/staging/greybus/sdio.c
+++ b/drivers/staging/greybus/sdio.c
@@ -192,7 +192,7 @@ static int _gb_sdio_process_events(struct gb_sdio_host *host, u8 event)
}
if (event & GB_SDIO_WP)
- host->read_only = true;
+ host->read_only = true;
if (state_changed) {
dev_info(mmc_dev(host->mmc), "card %s now event\n",
--
2.10.2