aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuang Ying <ying.huang@intel.com>2017-05-03 17:55:19 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2017-05-03 18:52:11 -0400
commitdf6b7499806bffd233e6dd0465901827b0b385b8 (patch)
treeaf36b7c25a5e0ae4d28f5c2bfe88654004844e21
parentccda7f4360be86b87497c50d1f58aab3fd85a9a5 (diff)
mm, swap: remove unused function prototype
This is a code cleanup patch, no functionality changes. There are 2 unused function prototype in swap.h, they are removed. Link: http://lkml.kernel.org/r/20170405071017.23677-1-ying.huang@intel.com Signed-off-by: "Huang, Ying" <ying.huang@intel.com> Cc: Tim Chen <tim.c.chen@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--include/linux/swap.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/swap.h b/include/linux/swap.h
index 486494e6b2fc..ba5882419a7d 100644
--- a/include/linux/swap.h
+++ b/include/linux/swap.h
@@ -411,9 +411,6 @@ struct backing_dev_info;
411extern int init_swap_address_space(unsigned int type, unsigned long nr_pages); 411extern int init_swap_address_space(unsigned int type, unsigned long nr_pages);
412extern void exit_swap_address_space(unsigned int type); 412extern void exit_swap_address_space(unsigned int type);
413 413
414extern int get_swap_slots(int n, swp_entry_t *slots);
415extern void swapcache_free_batch(swp_entry_t *entries, int n);
416
417#else /* CONFIG_SWAP */ 414#else /* CONFIG_SWAP */
418 415
419#define swap_address_space(entry) (NULL) 416#define swap_address_space(entry) (NULL)