Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759021AbaDJSyf (ORCPT ); Thu, 10 Apr 2014 14:54:35 -0400 Received: from mail-we0-f181.google.com ([74.125.82.181]:41393 "EHLO mail-we0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758514AbaDJSyb (ORCPT ); Thu, 10 Apr 2014 14:54:31 -0400 From: Paul McQuade To: linux-kernel@vger.kernel.org Cc: viro@zeniv.linux.org.uk, jack@suse.cz Subject: [PATCH 12/15] kernel:acctc: not function Date: Thu, 10 Apr 2014 19:54:28 +0100 Message-Id: <1397156068-6883-1-git-send-email-paulmcquad@gmail.com> X-Mailer: git-send-email 1.8.3.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org ERROR: return is not a function, parentheses are not required Signed-off-by: Paul McQuade --- 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/