From: Jessica Yu <jyu@cowsay.org>
To: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-kernel@vger.kernel.org, devel@driverdev.osuosl.org,
Jessica Yu <jyu@cowsay.org>
Subject: [PATCH v2 3/4] Staging: lustre: linux-module: remove extraneous parens
Date: Mon, 28 Jul 2014 06:33:14 -0700 [thread overview]
Message-ID: <1406554395-22779-4-git-send-email-jyu@cowsay.org> (raw)
In-Reply-To: <1406554395-22779-1-git-send-email-jyu@cowsay.org>
Remove unnecessary parens from return statements, return is not a function
Signed-off-by: Jessica Yu <jyu@cowsay.org>
---
drivers/staging/lustre/lustre/libcfs/linux/linux-module.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-module.c b/drivers/staging/lustre/lustre/libcfs/linux/linux-module.c
index abd7e6f..745fe4c 100644
--- a/drivers/staging/lustre/lustre/libcfs/linux/linux-module.c
+++ b/drivers/staging/lustre/lustre/libcfs/linux/linux-module.c
@@ -154,7 +154,7 @@ static long libcfs_ioctl(struct file *file,
if (!capable(CFS_CAP_SYS_BOOT))
return (-EPERM);
panic("debugctl-invoked panic");
- return (0);
+ return 0;
case IOC_LIBCFS_MEMHOG:
if (!capable(CFS_CAP_SYS_ADMIN))
return -EPERM;
@@ -167,7 +167,7 @@ static long libcfs_ioctl(struct file *file,
rc = libcfs_psdev_ops.p_ioctl(&pfile, cmd, (void *)arg);
else
rc = -EPERM;
- return (rc);
+ return rc;
}
static struct file_operations libcfs_fops = {
--
2.0.1
next prev parent reply other threads:[~2014-07-28 5:31 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-28 4:25 [PATCH] Staging: lustre: linux-module: fix coding style issues Jessica Yu
2014-07-28 13:33 ` [PATCH v2 0/4] Staging: lustre: linux-module: fix " Jessica Yu
2014-07-28 13:33 ` [PATCH v2 1/4] Staging: lustre: linux-module: fix pointer style issue Jessica Yu
2014-07-28 13:33 ` [PATCH v2 2/4] Staging: lustre: linux-module: remove unnecessary spaces Jessica Yu
2014-07-28 13:33 ` Jessica Yu [this message]
2014-07-28 13:33 ` [PATCH v2 4/4] Staging: lustre: linux-module: add const modifier to file_operations Jessica Yu
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1406554395-22779-4-git-send-email-jyu@cowsay.org \
--to=jyu@cowsay.org \
--cc=devel@driverdev.osuosl.org \
--cc=gregkh@linuxfoundation.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®