Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Oct 2015 21:29:18 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r288901 - head/sys/vm
Message-ID:  <201510052129.t95LTIBl009553@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Mon Oct  5 21:29:17 2015
New Revision: 288901
URL: https://svnweb.freebsd.org/changeset/base/288901

Log:
  Mark swap_pager_putpages static at its definition. It was already
  static at its declaration. Remove needless swapdev_strategy forward
  declaration.
  
  MFC After: 3 days

Modified:
  head/sys/vm/swap_pager.c

Modified: head/sys/vm/swap_pager.c
==============================================================================
--- head/sys/vm/swap_pager.c	Mon Oct  5 21:18:41 2015	(r288900)
+++ head/sys/vm/swap_pager.c	Mon Oct  5 21:29:17 2015	(r288901)
@@ -313,8 +313,6 @@ swap_release_by_cred(vm_ooffset_t decr, 
 	racct_sub_cred(cred, RACCT_SWAP, decr);
 }
 
-static void swapdev_strategy(struct buf *, struct swdevt *sw);
-
 #define SWM_FREE	0x02	/* free, period			*/
 #define SWM_POP		0x04	/* pop out			*/
 
@@ -1308,7 +1306,7 @@ swap_pager_getpages_async(vm_object_t ob
  *	those whos rtvals[] entry is not set to VM_PAGER_PEND on return.
  *	We need to unbusy the rest on I/O completion.
  */
-void
+static void
 swap_pager_putpages(vm_object_t object, vm_page_t *m, int count,
     int flags, int *rtvals)
 {



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