All of lore.kernel.org
 help / color / mirror / Atom feed
* + mm-swap-remove-unused-function-prototype.patch added to -mm tree
@ 2017-04-06 23:11 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2017-04-06 23:11 UTC (permalink / raw)
  To: ying.huang, tim.c.chen, mm-commits


The patch titled
     Subject: mm, swap: Remove unused function prototype
has been added to the -mm tree.  Its filename is
     mm-swap-remove-unused-function-prototype.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/mm-swap-remove-unused-function-prototype.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-swap-remove-unused-function-prototype.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/SubmitChecklist when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Huang Ying <ying.huang@intel.com>
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.

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>
---

 include/linux/swap.h |    3 ---
 1 file changed, 3 deletions(-)

diff -puN include/linux/swap.h~mm-swap-remove-unused-function-prototype include/linux/swap.h
--- a/include/linux/swap.h~mm-swap-remove-unused-function-prototype
+++ a/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);

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-04-06 23:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-06 23:11 + mm-swap-remove-unused-function-prototype.patch added to -mm tree akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.