summaryrefslogtreecommitdiff
path: root/drivers/staging/wilc1000
diff options
context:
space:
mode:
authorGlen Lee <glen.lee@atmel.com>2015-12-21 05:18:17 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-12-21 21:20:04 (GMT)
commit58ed46f795141a6579df88bd506c3458ce6c4918 (patch)
tree95d781f270c19209256d427cf5ffee45ab9f5f02 /drivers/staging/wilc1000
parent3cf9c9a7ffb7a6b67683259cf21c0c4fde1301d6 (diff)
downloadlinux-58ed46f795141a6579df88bd506c3458ce6c4918.tar.xz
staging: wilc1000: linux_wlan_sdio.c: remove braces
This patch fixes checkpatch warning braces{} are not necessary for single statment blocks. Signed-off-by: Glen Lee <glen.lee@atmel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/wilc1000')
-rw-r--r--drivers/staging/wilc1000/linux_wlan_sdio.c3
1 files changed, 1 insertions, 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");