mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-03 09:29:42 +00:00
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>
This commit is contained in:
parent
46d567e65b
commit
db1a4194c8
1 changed files with 1 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue