svn commit: r356635 - stable/11/sys/compat/linux

Kyle Evans kevans at FreeBSD.org
Sat Jan 11 16:28:36 UTC 2020


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);
 


More information about the svn-src-all mailing list