* [PATCH] mm: ksm: Remove unused function process_timeout()
@ 2014-08-11 11:22 Murilo Opsfelder Araujo
2014-09-04 9:11 ` Chintan Pandya
0 siblings, 1 reply; 2+ messages in thread
From: Murilo Opsfelder Araujo @ 2014-08-11 11:22 UTC (permalink / raw)
To: linux-mm, linux-kernel; +Cc: Murilo Opsfelder Araujo
This patch fixes compilation warning:
mm/ksm.c:1711:13: warning: a??process_timeouta?? defined but not used [-Wunused-function]
Signed-off-by: Murilo Opsfelder Araujo <mopsfelder@gmail.com>
---
mm/ksm.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/mm/ksm.c b/mm/ksm.c
index f7de4c0..434a50a 100644
--- a/mm/ksm.c
+++ b/mm/ksm.c
@@ -1708,11 +1708,6 @@ static void ksm_do_scan(unsigned int scan_npages)
}
}
-static void process_timeout(unsigned long __data)
-{
- wake_up_process((struct task_struct *)__data);
-}
-
static int ksmd_should_run(void)
{
return (ksm_run & KSM_RUN_MERGE) && !list_empty(&ksm_mm_head.mm_list);
--
2.1.0.rc1.204.gae8bc8d
--
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: ksm: Remove unused function process_timeout()
2014-08-11 11:22 [PATCH] mm: ksm: Remove unused function process_timeout() Murilo Opsfelder Araujo
@ 2014-09-04 9:11 ` Chintan Pandya
0 siblings, 0 replies; 2+ messages in thread
From: Chintan Pandya @ 2014-09-04 9:11 UTC (permalink / raw)
To: Murilo Opsfelder Araujo; +Cc: linux-mm, linux-kernel
On 08/11/2014 04:52 PM, Murilo Opsfelder Araujo wrote:
> This patch fixes compilation warning:
>
> mm/ksm.c:1711:13: warning: a??process_timeouta?? defined but not used [-Wunused-function]
>
> Signed-off-by: Murilo Opsfelder Araujo<mopsfelder@gmail.com>
> ---
> mm/ksm.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/mm/ksm.c b/mm/ksm.c
> index f7de4c0..434a50a 100644
> --- a/mm/ksm.c
> +++ b/mm/ksm.c
> @@ -1708,11 +1708,6 @@ static void ksm_do_scan(unsigned int scan_npages)
> }
> }
>
> -static void process_timeout(unsigned long __data)
> -{
> - wake_up_process((struct task_struct *)__data);
> -}
> -
> static int ksmd_should_run(void)
> {
> return (ksm_run& KSM_RUN_MERGE)&& !list_empty(&ksm_mm_head.mm_list);
The original KSM patch which introduced this function (by mistake) has
been re-sent for reviews. So, we can drop this at the moment.
--
Chintan Pandya
QUALCOMM INDIA, on behalf of Qualcomm Innovation Center, Inc. is a
member of the Code Aurora Forum, hosted by The Linux Foundation
--
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 [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-09-04 9:11 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-11 11:22 [PATCH] mm: ksm: Remove unused function process_timeout() Murilo Opsfelder Araujo
2014-09-04 9:11 ` Chintan Pandya
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).