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

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>

authored by

Rahul Krishnan and committed by
Greg Kroah-Hartman
db1a4194 46d567e6

+1 -2
+1 -2
drivers/staging/greybus/sdio.c
··· 191 191 state_changed = 1; 192 192 } 193 193 194 - if (event & GB_SDIO_WP) { 194 + if (event & GB_SDIO_WP) 195 195 host->read_only = true; 196 - } 197 196 198 197 if (state_changed) { 199 198 dev_info(mmc_dev(host->mmc), "card %s now event\n",