From: Jessica Yu Date: Mon, 28 Jul 2014 13:33:14 +0000 (-0700) Subject: Staging: lustre: linux-module: remove extraneous parens X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=18e2e99b8c786d1def543bd53063567d5cedd3d1;p=deliverable%2Flinux.git Staging: lustre: linux-module: remove extraneous parens Remove unnecessary parens from return statements, return is not a function Signed-off-by: Jessica Yu Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/lustre/lustre/libcfs/linux/linux-module.c b/drivers/staging/lustre/lustre/libcfs/linux/linux-module.c index abd7e6f9d8aa..745fe4cd784d 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 = {