diff options
author | Rahul Krishnan <mrahul.krishnan@gmail.com> | 2016-11-18 20:45:25 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-11-19 14:23:09 +0100 |
commit | db1a4194c84d56a43d17d7f99f04feef311e7a32 (patch) | |
tree | a755b79c4a083992263309666f143ddc88a1b0a9 /drivers/staging/greybus/sdio.c | |
parent | 46d567e65b9c6e47e2319b9ce5800aec5797c50a (diff) | |
download | op-kernel-dev-db1a4194c84d56a43d17d7f99f04feef311e7a32.zip op-kernel-dev-db1a4194c84d56a43d17d7f99f04feef311e7a32.tar.gz |
staging: Greybus: Remove unnecessary braces for single statement block
This patch fixes the following checkpath.pl warning
WARNING: braces {} are not necessary for single statement blocks
Signed-off-by: Rahul Krishnan <mrahul.krishnan@gmail.com>
Reviewed-by: Rui Miguel Silva <rmfrfs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/greybus/sdio.c')
-rw-r--r-- | drivers/staging/greybus/sdio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/greybus/sdio.c b/drivers/staging/greybus/sdio.c index 5649ef1..66b37ea 100644 --- a/drivers/staging/greybus/sdio.c +++ b/drivers/staging/greybus/sdio.c @@ -191,9 +191,8 @@ static int _gb_sdio_process_events(struct gb_sdio_host *host, u8 event) state_changed = 1; } - if (event & GB_SDIO_WP) { + if (event & GB_SDIO_WP) host->read_only = true; - } if (state_changed) { dev_info(mmc_dev(host->mmc), "card %s now event\n", |