diff options
| author | Warner Losh <imp@FreeBSD.org> | 2014-03-30 23:43:36 +0000 |
|---|---|---|
| committer | Warner Losh <imp@FreeBSD.org> | 2014-03-30 23:43:36 +0000 |
| commit | 8a27a339b6563b3b83347a427c75b08261d5e85f (patch) | |
| tree | 7ad4760794b20d65e83a98cd6fc87d97438397d4 /sys/compat | |
| parent | 63e4d6f712595bd6f89699253563b65816a0a849 (diff) | |
Notes
Diffstat (limited to 'sys/compat')
| -rw-r--r-- | sys/compat/freebsd32/freebsd32_misc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c index b093a763148a..653145e8e92a 100644 --- a/sys/compat/freebsd32/freebsd32_misc.c +++ b/sys/compat/freebsd32/freebsd32_misc.c @@ -1664,15 +1664,12 @@ freebsd32_do_sendfile(struct thread *td, off_t offset; int error; off_t sbytes; - struct sendfile_sync *sfs; - int do_kqueue = 0; offset = PAIR32TO64(off_t, uap->offset); if (offset < 0) return (EINVAL); hdr_uio = trl_uio = NULL; - sfs = NULL; if (uap->hdtr != NULL) { error = copyin(uap->hdtr, &hdtr32, sizeof(hdtr32)); @@ -1714,7 +1711,6 @@ freebsd32_do_sendfile(struct thread *td, CP(hdtr_kq32, hdtr_kq, kq_flags); PTRIN_CP(hdtr_kq32, hdtr_kq, kq_udata); CP(hdtr_kq32, hdtr_kq, kq_ident); - do_kqueue = 1; } } |
