Don't TAILQ_INIT kq_head twice, once is enough.

This commit is contained in:
David Malone 2003-12-25 23:42:36 +00:00
parent 7028d20d07
commit 1c58509c25

View File

@ -395,7 +395,6 @@ kqueue(struct thread *td, struct kqueue_args *uap)
fp->f_flag = FREAD | FWRITE;
fp->f_type = DTYPE_KQUEUE;
fp->f_ops = &kqueueops;
TAILQ_INIT(&kq->kq_head);
fp->f_data = kq;
FILE_UNLOCK(fp);
fdrop(fp, td);