Commit 01fe818c authored by Janani Ravichandran's avatar Janani Ravichandran Committed by Greg Kroah-Hartman

staging: wilc1000: Eliminate extraneous braces

Get rid of extraneous braces enclosing single statement blocks.
Signed-off-by: default avatarJanani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f7b7f87d
...@@ -98,9 +98,8 @@ static ssize_t wilc_debug_region_write(struct file *filp, const char __user *buf ...@@ -98,9 +98,8 @@ static ssize_t wilc_debug_region_write(struct file *filp, const char __user *buf
if (count > sizeof(buffer)) if (count > sizeof(buffer))
return -EINVAL; return -EINVAL;
if (copy_from_user(buffer, buf, count)) { if (copy_from_user(buffer, buf, count))
return -EFAULT; return -EFAULT;
}
flag = buffer[0] - '0'; flag = buffer[0] - '0';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment