mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-11 23:27:42 +07:00
Staging: lustre: linux-module: remove extraneous parens
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>
This commit is contained in:
parent
91a002c752
commit
18e2e99b8c
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user