Return-path: Received: from eusmtp01.atmel.com ([212.144.249.242]:48792 "EHLO eusmtp01.atmel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753502AbbKWJpL (ORCPT ); Mon, 23 Nov 2015 04:45:11 -0500 From: Glen Lee To: CC: , , , , , , , , Subject: [PATCH 05/10] staging: wilc1000: linux_wlan_sdio.c: remove braces Date: Mon, 23 Nov 2015 18:48:03 +0900 Message-ID: <1448272088-13973-5-git-send-email-glen.lee@atmel.com> (sfid-20151123_104515_913198_4F30B218) In-Reply-To: <1448272088-13973-1-git-send-email-glen.lee@atmel.com> References: <1448272088-13973-1-git-send-email-glen.lee@atmel.com> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-wireless-owner@vger.kernel.org List-ID: This patch fixes checkpatch warning braces{} are not necessary for single statment blocks. Signed-off-by: Glen Lee --- drivers/staging/wilc1000/linux_wlan_sdio.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/wilc1000/linux_wlan_sdio.c b/drivers/staging/wilc1000/linux_wlan_sdio.c index 78e6808..64fb81b 100644 --- a/drivers/staging/wilc1000/linux_wlan_sdio.c +++ b/drivers/staging/wilc1000/linux_wlan_sdio.c @@ -159,9 +159,8 @@ void wilc_sdio_disable_interrupt(struct wilc *dev) sdio_claim_host(func); ret = sdio_release_irq(func); - if (ret < 0) { + if (ret < 0) dev_err(&func->dev, "can't release sdio_irq, err(%d)\n", ret); - } sdio_release_host(func); dev_info(&func->dev, "wilc_sdio_disable_interrupt OUT\n"); -- 1.9.1