From: Wei Yang <richard.weiyang@gmail.com>
To: "Huang, Ying" <ying.huang@intel.com>
Cc: Andrew Morton <akpm@linux-foundation.org>,
linux-mm@kvack.org, linux-kernel@vger.kernel.org,
Tim Chen <tim.c.chen@linux.intel.com>
Subject: Re: [PATCH -mm] mm, swap: Remove unused function prototype
Date: Wed, 10 May 2017 10:57:21 +0800 [thread overview]
Message-ID: <20170510025721.GC8480@WeideMBP.lan> (raw)
In-Reply-To: <20170405071017.23677-1-ying.huang@intel.com>
[-- 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 --]
prev parent reply other threads:[~2017-05-10 2:57 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-05 7:10 [PATCH -mm] mm, swap: Remove unused function prototype Huang, Ying
2017-04-05 7:10 ` Huang, Ying
2017-05-10 2:57 ` Wei Yang [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170510025721.GC8480@WeideMBP.lan \
--to=richard.weiyang@gmail.com \
--cc=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=tim.c.chen@linux.intel.com \
--cc=ying.huang@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.