Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753888AbcKRNe7 (ORCPT ); Fri, 18 Nov 2016 08:34:59 -0500 Received: from mail-pf0-f194.google.com ([209.85.192.194]:35027 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751685AbcKRNey (ORCPT ); Fri, 18 Nov 2016 08:34:54 -0500 Date: Fri, 18 Nov 2016 19:04:20 +0530 From: Rahul Krishnan To: rmfrfs@gmail.com Cc: elder@kernel.org, johan@kernel.org, gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCHv2]: staging: Greybus: Remove unnecessary braces for single statement block Message-ID: <20161118133419.GA4346@rahul> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 765 Lines: 25 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 --- 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