Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -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';