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:
parent
f7b7f87de7
commit
01fe818cc3
|
@ -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';
|
||||
|
||||
|
|
Loading…
Reference in a new issue