From 39799feb93146833ca704045c119ef447a1927d3 Mon Sep 17 00:00:00 2001 From: visa Date: Sun, 19 Aug 2018 02:22:40 +0000 Subject: [PATCH] Remove a stale/obvious comment. OK mpi@ --- sys/kern/kern_descrip.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c index 4224a87274d..0cdeb5a8a5d 100644 --- a/sys/kern/kern_descrip.c +++ b/sys/kern/kern_descrip.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_descrip.c,v 1.178 2018/08/10 15:53:49 jsing Exp $ */ +/* $OpenBSD: kern_descrip.c,v 1.179 2018/08/19 02:22:40 visa Exp $ */ /* $NetBSD: kern_descrip.c,v 1.42 1996/03/30 22:24:38 christos Exp $ */ /* @@ -1021,12 +1021,6 @@ fnew(struct proc *p) return (NULL); } - /* - * Allocate a new file descriptor. - * If the process has file descriptor zero open, add to the list - * of open files at that point, otherwise put it at the front of - * the list of open files. - */ fp = pool_get(&file_pool, PR_WAITOK|PR_ZERO); /* * We need to block interrupts as long as `f_mtx' is being taken -- 2.20.1