]> xenbits.xensource.com Git - people/julieng/freebsd.git/commitdiff
Mark swap_pager_putpages static at its definition. It was already
authorimp <imp@FreeBSD.org>
Mon, 5 Oct 2015 21:29:17 +0000 (21:29 +0000)
committerimp <imp@FreeBSD.org>
Mon, 5 Oct 2015 21:29:17 +0000 (21:29 +0000)
static at its declaration. Remove needless swapdev_strategy forward
declaration.

MFC After: 3 days

sys/vm/swap_pager.c

index fd58063a912490fed80904ecadc73a242ec34dbe..0bd4883c6847e27434235fdc6520be64b95f2585 100644 (file)
@@ -313,8 +313,6 @@ swap_release_by_cred(vm_ooffset_t decr, struct ucred *cred)
        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 object, vm_page_t *m, int count,
  *     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)
 {