Skip to contentSkip to conversation

mm, swap: remove unused function prototype

PATCH New [email protected] 1 participant 1 message May 3, 2017 MM swap

lore
Share & tools
lore

[email protected]

author maintainer
#0 lore raw

PATCH 73/102 mm, swap: remove unused function prototype

From: Huang Ying <[email protected]>
Subject: 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.

---

 include/linux/swap.h |    3 ---
 1 file changed, 3 deletions(-)
include/linux/swap.h renamed from include/linux/swap.h~mm-swap-remove-unused-function-prototype +0 -2
diff -puN include/linux/swap.h~mm-swap-remove-unused-function-prototype include/linux/swap.h
@@ -411,9 +411,6 @@ struct backing_dev_info;
 extern int init_swap_address_space(unsigned int type, unsigned long nr_pages);
 extern void exit_swap_address_space(unsigned int type);
 
-extern int get_swap_slots(int n, swp_entry_t *slots);
-extern void swapcache_free_batch(swp_entry_t *entries, int n);