mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 03:06:50 -04:00
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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
3cf9c9a7ff
commit
58ed46f795
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user