[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1397156068-6883-1-git-send-email-paulmcquad@gmail.com>
Date: Thu, 10 Apr 2014 19:54:28 +0100
From: Paul McQuade <paulmcquad@...il.com>
To: linux-kernel@...r.kernel.org
Cc: viro@...iv.linux.org.uk, jack@...e.cz
Subject: [PATCH 12/15] kernel:acctc: not function
ERROR: return is not a function, parentheses are not required
Signed-off-by: Paul McQuade <paulmcquad@...il.com>
---
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists