mm, swap: Remove unused function prototype
Subsystems (2)
PATCH 1/1 mm, swap: Remove unused function prototype
From: Huang Ying <[email protected]>
This is a code cleanup patch, no functionality changes. There are 2 unused function prototype in swap.h, they are removed.
Signed-off-by "Huang, Ying" <[email protected]>
Cc Tim Chen <[email protected]>
--- include/linux/swap.h | 3 --- 1 file changed, 3 deletions(-)
include/linux/swap.h +0 -3
@@ -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); -#else /* CONFIG_SWAP */ #define swap_address_space (entry) (NULL)
Signature · 7 lines
2.11.0 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"[email protected]"> [email protected] </a>
Quoted 27 lines · Ying
From: Huang Ying <[email protected]>
This is a code cleanup patch, no functionality changes. There are 2 unused function prototype in
swap.h, they are removed.Signed-off-by "Huang, Ying" <[email protected]>Cc Tim Chen <[email protected]>---
include/linux/swap.h| 3 ---1 file changed, 3 deletions(-)include/linux/swap.h +0
-3@@ -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); -#else /* CONFIG_SWAP */ #define swap_address_space (entry) (NULL)Signature · 1 line
2.11.0
Reviewed-by Wei Yang <[email protected]>
Signature · 2 lines
Wei Yang Help you, Help me