linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH -mm] mm, swap: Remove unused function prototype
@ 2017-04-05  7:10 Huang, Ying
  2017-05-10  2:57 ` Wei Yang
  0 siblings, 1 reply; 2+ messages in thread
From: Huang, Ying @ 2017-04-05  7:10 UTC (permalink / raw)
  To: Andrew Morton; +Cc: linux-mm, linux-kernel, Huang Ying, Tim Chen

From: Huang Ying <ying.huang@intel.com>

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" <ying.huang@intel.com>
Cc: Tim Chen <tim.c.chen@linux.intel.com>
---
 include/linux/swap.h | 3 ---
 1 file changed, 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;
 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)
-- 
2.11.0

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -mm] mm, swap: Remove unused function prototype
  2017-04-05  7:10 [PATCH -mm] mm, swap: Remove unused function prototype Huang, Ying
@ 2017-05-10  2:57 ` Wei Yang
  0 siblings, 0 replies; 2+ messages in thread
From: Wei Yang @ 2017-05-10  2:57 UTC (permalink / raw)
  To: Huang, Ying; +Cc: Andrew Morton, linux-mm, linux-kernel, Tim Chen

[-- Attachment #1: Type: text/plain, Size: 1069 bytes --]

On Wed, Apr 05, 2017 at 03:10:17PM +0800, Huang, Ying wrote:
>From: Huang Ying <ying.huang@intel.com>
>
>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" <ying.huang@intel.com>
>Cc: Tim Chen <tim.c.chen@linux.intel.com>
>---
> include/linux/swap.h | 3 ---
> 1 file changed, 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;
> 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)
>-- 
>2.11.0

Reviewed-by: Wei Yang <richard.weiyang@gmail.com>

-- 
Wei Yang
Help you, Help me

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-10  2:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-05  7:10 [PATCH -mm] mm, swap: Remove unused function prototype Huang, Ying
2017-05-10  2:57 ` Wei Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).