Skip to contentSkip to conversation

staging: wilc1000: Eliminate extraneous braces

PATCH New Janani Ravichandran 1 participant 1 message Feb 13, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: wilc1000: Eliminate extraneous braces

Get rid of extraneous braces enclosing single statement blocks.

---
 drivers/staging/wilc1000/wilc_debugfs.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/wilc1000/wilc_debugfs.c +1 -2
index c5c8cc9..8e7186b 100644
@@ -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';
 
Signature · 1 line
2.5.0