Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Apr 2015 00:29:03 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r281720 - head/sys/vm
Message-ID:  <201504190029.t3J0T3SL035928@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: alc
Date: Sun Apr 19 00:29:02 2015
New Revision: 281720
URL: https://svnweb.freebsd.org/changeset/base/281720

Log:
  Eliminate an unused variable.
  
  MFC after:	1 week

Modified:
  head/sys/vm/device_pager.c

Modified: head/sys/vm/device_pager.c
==============================================================================
--- head/sys/vm/device_pager.c	Sat Apr 18 23:56:04 2015	(r281719)
+++ head/sys/vm/device_pager.c	Sun Apr 19 00:29:02 2015	(r281720)
@@ -294,7 +294,6 @@ static int
 old_dev_pager_fault(vm_object_t object, vm_ooffset_t offset, int prot,
     vm_page_t *mres)
 {
-	vm_pindex_t pidx;
 	vm_paddr_t paddr;
 	vm_page_t m_paddr, page;
 	struct cdev *dev;
@@ -304,7 +303,6 @@ old_dev_pager_fault(vm_object_t object, 
 	vm_memattr_t memattr;
 	int ref, ret;
 
-	pidx = OFF_TO_IDX(offset);
 	memattr = object->memattr;
 
 	VM_OBJECT_WUNLOCK(object);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504190029.t3J0T3SL035928>