staging: wilc1000: Eliminate extraneous braces

Get rid of extraneous braces enclosing single statement blocks.

Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Janani Ravichandran 2016-02-13 23:10:29 -05:00 committed by Greg Kroah-Hartman
parent f7b7f87de7
commit 01fe818cc3

View file

@ -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';