From: Sascha Wildner Date: Tue, 21 Aug 2012 15:39:02 +0000 (+0200) Subject: kernel/procfs: Remove some unneeded parentheses. X-Git-Tag: v3.2.0~306 X-Git-Url: http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff_plain/f6233bcb31eb0d4a62a26ddf166885d549ea67d7 kernel/procfs: Remove some unneeded parentheses. --- diff --git a/sys/vfs/procfs/procfs_subr.c b/sys/vfs/procfs/procfs_subr.c index c71f809..f863056 100644 --- a/sys/vfs/procfs/procfs_subr.c +++ b/sys/vfs/procfs/procfs_subr.c @@ -351,11 +351,11 @@ procfs_rw(struct vop_read_args *ap) lwkt_gettoken(&proc_token); p = pfs_pfind(pfs->pfs_pid); if (p == NULL) { - rtval = (EINVAL); + rtval = EINVAL; goto out; } if (p->p_pid == 1 && securelevel > 0 && uio->uio_rw == UIO_WRITE) { - rtval = (EACCES); + rtval = EACCES; goto out; } /* XXX lwp */