diff options
Diffstat (limited to 'sys/fs/procfs/procfs_regs.c')
-rw-r--r-- | sys/fs/procfs/procfs_regs.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/fs/procfs/procfs_regs.c b/sys/fs/procfs/procfs_regs.c index f0e627d..12efe85 100644 --- a/sys/fs/procfs/procfs_regs.c +++ b/sys/fs/procfs/procfs_regs.c @@ -95,10 +95,6 @@ int procfs_validregs(p) struct proc *p; { - int valid; - PROC_LOCK(p); - valid = (p->p_flag & P_SYSTEM) == 0; - PROC_UNLOCK(p); - return (valid); + return ((p->p_flag & P_SYSTEM) == 0); } |