Skip to contentSkip to conversation

kernel:acctc: not function

PATCH In review Paul McQuade 1 participant 1 message Apr 10, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 12/15 kernel:acctc: not function

ERROR: return is not a function, parentheses are not required

---
 kernel/acct.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/acct.c +1 -1
index 3fdafa9..808a86f 100644
@@ -262,7 +262,7 @@ SYSCALL_DEFINE1(acct, const char __user *, name)
 	if (name) {
 		struct filename *tmp = getname(name);
 		if (IS_ERR(tmp))
-			return (PTR_ERR(tmp));
+			return PTR_ERR(tmp);
 		error = acct_on(tmp);
 		putname(tmp);
 	} else {
Signature · 1 line
1.8.3.2