staging: wilc1000: linux_wlan_sdio.c: remove braces
authorGlen Lee <glen.lee@atmel.com>
Mon, 21 Dec 2015 05:18:17 +0000 (14:18 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 21 Dec 2015 21:20:04 +0000 (13:20 -0800)
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>
drivers/staging/wilc1000/linux_wlan_sdio.c

index 78e6808e7e94d2b72eb4f1ff2a42881d99be2bf6..64fb81b331bd6e5ecc3531075c893bea6bbb7ea2 100644 (file)
@@ -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");