summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2012-09-12 10:12:03 +0000
committerkevlo <kevlo@FreeBSD.org>2012-09-12 10:12:03 +0000
commitce4326d001961f6e90b4608d60b91d571710e798 (patch)
tree0d32ffa60d42e9dc2c7f8a96b769cc2f0b298c46 /sys/compat
parentc94209caab986a73c2087101018e42d24c60b3e4 (diff)
downloadFreeBSD-src-ce4326d001961f6e90b4608d60b91d571710e798.zip
FreeBSD-src-ce4326d001961f6e90b4608d60b91d571710e798.tar.gz
Remove redundant check
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_file.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c
index b0c2e4a..8003ade 100644
--- a/sys/compat/linux/linux_file.c
+++ b/sys/compat/linux/linux_file.c
@@ -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.
OpenPOWER on IntegriCloud