Remove redundant check

This commit is contained in:
Kevin Lo 2012-09-12 10:12:03 +00:00
parent f99a2a0c2b
commit 457a9cfbc1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=240387

View File

@ -384,11 +384,6 @@ getdents_common(struct thread *td, struct linux_getdents64_args *args,
auio.uio_resid = buflen;
auio.uio_offset = off;
if (cookies) {
free(cookies, M_TEMP);
cookies = NULL;
}
#ifdef MAC
/*
* Do directory search MAC check using non-cached credentials.