Date: Sat, 11 Jan 2020 16:28:35 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r356635 - stable/11/sys/compat/linux Message-ID: <202001111628.00BGSZjQ053381@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kevans Date: Sat Jan 11 16:28:35 2020 New Revision: 356635 URL: https://svnweb.freebsd.org/changeset/base/356635 Log: Fix warning after r356634 This is a direct commit to stable/11, because stable/12 and head no longer used this local 'rights' variable. It is no longer needed now that grabbing fp was moved into mmap. Modified: stable/11/sys/compat/linux/linux_mmap.c Modified: stable/11/sys/compat/linux/linux_mmap.c ============================================================================== --- stable/11/sys/compat/linux/linux_mmap.c Sat Jan 11 15:06:06 2020 (r356634) +++ stable/11/sys/compat/linux/linux_mmap.c Sat Jan 11 16:28:35 2020 (r356635) @@ -82,7 +82,6 @@ linux_mmap_common(struct thread *td, uintptr_t addr, s int bsd_flags, error; struct file *fp; - cap_rights_t rights; LINUX_CTR6(mmap2, "0x%lx, %ld, %ld, 0x%08lx, %ld, 0x%lx", addr, len, prot, flags, fd, pos);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001111628.00BGSZjQ053381>