svn commit: r281720 - head/sys/vm
Alan Cox
alc at FreeBSD.org
Sun Apr 19 00:29:03 UTC 2015
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);
More information about the svn-src-head
mailing list