From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934833AbbIVUgD (ORCPT ); Tue, 22 Sep 2015 16:36:03 -0400 Received: from mx1.redhat.com ([209.132.183.28]:50345 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934736AbbIVUeZ (ORCPT ); Tue, 22 Sep 2015 16:34:25 -0400 From: Luiz Capitulino To: linux-kernel@vger.kernel.org Cc: riel@redhat.com, rafael.j.wysocki@intel.com, mingo@kernel.org Subject: [RFC 1/3] sched/idle: cpu_idle_poll(): drop unused return code Date: Tue, 22 Sep 2015 16:34:20 -0400 Message-Id: <1442954062-28578-2-git-send-email-lcapitulino@redhat.com> In-Reply-To: <1442954062-28578-1-git-send-email-lcapitulino@redhat.com> References: <1442954062-28578-1-git-send-email-lcapitulino@redhat.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Signed-off-by: Luiz Capitulino --- kernel/sched/idle.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kernel/sched/idle.c b/kernel/sched/idle.c index 8f177c7..93d0657 100644 --- a/kernel/sched/idle.c +++ b/kernel/sched/idle.c @@ -52,7 +52,7 @@ static int __init cpu_idle_nopoll_setup(char *__unused) __setup("hlt", cpu_idle_nopoll_setup); #endif -static inline int cpu_idle_poll(void) +static inline void cpu_idle_poll(void) { rcu_idle_enter(); trace_cpu_idle_rcuidle(0, smp_processor_id()); @@ -62,7 +62,6 @@ static inline int cpu_idle_poll(void) cpu_relax(); trace_cpu_idle_rcuidle(PWR_EVENT_EXIT, smp_processor_id()); rcu_idle_exit(); - return 1; } /* Weak implementations for optional arch specific functions */ -- 2.1.0