From 01fe818cc3409c75bc15a5695600b43f4b354b62 Mon Sep 17 00:00:00 2001 From: Janani Ravichandran Date: Sat, 13 Feb 2016 23:10:29 -0500 Subject: [PATCH] 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 --- drivers/staging/wilc1000/wilc_debugfs.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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'; -- 2.39.5