[PATCH 12/15] kernel:acctc: not function

From: Paul McQuade
Date: Thu Apr 10 2014 - 14:54:45 EST


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

Signed-off-by: Paul McQuade <paulmcquad@xxxxxxxxx>
---
kernel/acct.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kernel/acct.c b/kernel/acct.c
index 3fdafa9..808a86f 100644
--- a/kernel/acct.c
+++ b/kernel/acct.c
@@ -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 {
--
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/