Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jun 2017 06:13:58 +0000 (UTC)
From:      Alan Cox <alc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r320439 - stable/10/sys/vm
Message-ID:  <201706280613.v5S6Dw69042445@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: alc
Date: Wed Jun 28 06:13:58 2017
New Revision: 320439
URL: https://svnweb.freebsd.org/changeset/base/320439

Log:
  MFC r281720
    Eliminate an unused variable.

Modified:
  stable/10/sys/vm/device_pager.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/vm/device_pager.c
==============================================================================
--- stable/10/sys/vm/device_pager.c	Wed Jun 28 05:28:15 2017	(r320438)
+++ stable/10/sys/vm/device_pager.c	Wed Jun 28 06:13:58 2017	(r320439)
@@ -292,7 +292,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;
@@ -302,7 +301,6 @@ old_dev_pager_fault(vm_object_t object, vm_ooffset_t o
 	vm_memattr_t memattr, memattr1;
 	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?201706280613.v5S6Dw69042445>