* [PATCH 12/15] kernel:acctc: not function
@ 2014-04-10 18:54 Paul McQuade
0 siblings, 0 replies; only message in thread
From: Paul McQuade @ 2014-04-10 18:54 UTC (permalink / raw)
To: linux-kernel; +Cc: viro, jack
ERROR: return is not a function, parentheses are not required
Signed-off-by: Paul McQuade <paulmcquad@gmail.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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-04-10 18:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-10 18:54 [PATCH 12/15] kernel:acctc: not function Paul McQuade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®