Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1638517 > unrolled thread

Re: [PATCH -mm] mm, swap: Remove unused function prototype

Started byWei Yang <richard.weiyang@gmail.com>
First post2017-05-10 05:00 +0200
Last post2017-05-10 05:00 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH -mm] mm, swap: Remove unused function prototype Wei Yang <richard.weiyang@gmail.com> - 2017-05-10 05:00 +0200

#1638517 — Re: [PATCH -mm] mm, swap: Remove unused function prototype

FromWei Yang <richard.weiyang@gmail.com>
Date2017-05-10 05:00 +0200
SubjectRe: [PATCH -mm] mm, swap: Remove unused function prototype
Message-ID<tFq13-2uy-1@gated-at.bofh.it>

[Multipart message — attachments visible in raw view] — view raw

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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web