From: Janani Ravichandran Date: Sun, 14 Feb 2016 04:10:29 +0000 (-0500) Subject: staging: wilc1000: Eliminate extraneous braces X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=01fe818cc3409c75bc15a5695600b43f4b354b62;p=linux-beck.git staging: wilc1000: Eliminate extraneous braces Get rid of extraneous braces enclosing single statement blocks. Signed-off-by: Janani Ravichandran Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/wilc1000/wilc_debugfs.c b/drivers/staging/wilc1000/wilc_debugfs.c index 6a39b16121d4..da7ec8bb0dd4 100644 --- a/drivers/staging/wilc1000/wilc_debugfs.c +++ b/drivers/staging/wilc1000/wilc_debugfs.c @@ -98,9 +98,8 @@ static ssize_t wilc_debug_region_write(struct file *filp, const char __user *buf if (count > sizeof(buffer)) return -EINVAL; - if (copy_from_user(buffer, buf, count)) { + if (copy_from_user(buffer, buf, count)) return -EFAULT; - } flag = buffer[0] - '0';