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)
 {
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to