Skip to content

Commit df6b749

Browse files
yhuang-inteltorvalds
authored andcommitted
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/[email protected] Signed-off-by: "Huang, Ying" <[email protected]> Cc: Tim Chen <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent ccda7f4 commit df6b749

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

include/linux/swap.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -411,9 +411,6 @@ struct backing_dev_info;
411411
extern int init_swap_address_space(unsigned int type, unsigned long nr_pages);
412412
extern void exit_swap_address_space(unsigned int type);
413413

414-
extern int get_swap_slots(int n, swp_entry_t *slots);
415-
extern void swapcache_free_batch(swp_entry_t *entries, int n);
416-
417414
#else /* CONFIG_SWAP */
418415

419416
#define swap_address_space(entry) (NULL)

0 commit comments

Comments
 (0)