Staging: lustre: linux-module: remove extraneous parens
authorJessica Yu <jyu@cowsay.org>
Mon, 28 Jul 2014 13:33:14 +0000 (06:33 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 Jul 2014 23:56:42 +0000 (16:56 -0700)
Remove unnecessary parens from return statements, return is not a function

Signed-off-by: Jessica Yu <jyu@cowsay.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/lustre/lustre/libcfs/linux/linux-module.c

index abd7e6f9d8aa7061ff9b08a8467eaac619e03b8f..745fe4cd784da82598803192b8417828773fa7ac 100644 (file)
@@ -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 = {