From patchwork Wed Jan 29 17:45:11 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Pitre X-Patchwork-Id: 23890 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-pa0-f72.google.com (mail-pa0-f72.google.com [209.85.220.72]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 278D0202FA for ; Wed, 29 Jan 2014 17:45:40 +0000 (UTC) Received: by mail-pa0-f72.google.com with SMTP id rd3sf4857997pab.7 for ; Wed, 29 Jan 2014 09:45:39 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:in-reply-to:references:sender:precedence:list-id :x-original-sender:x-original-authentication-results:mailing-list :list-post:list-help:list-archive:list-unsubscribe :content-transfer-encoding; bh=Ayty2Y/YnQQHBlxc9/FV4gfIAUcvX4hFodJVptpdpGs=; b=QuLD71vk1Xh1Wxt1h8nC+i6aLGIiL4wgbhoqM7a5oUMqg37z6eDD3HfeceQ2/vDWD9 rhLpgA7peUqWfsYnvWaI3t320Gm3uuJQb4hnW26BDYj24/djNnrt8E7JkBD/932Nr7N6 b56Lrl4ZBDdzbMsvii33qw2GFxfwF3ZDnopHtvdw0bARyu3UIX1/V1uDpGGqvdmV83U0 vDNYTKlyeaRcsLVb0tO0f03i6oHS3iByK9eSEhml8nQ4d/3ho3wAB5zH4y+x1mi4I46f ruPXxUgHt7AqnZMwyqjegYqPaYz6jHkEWhWmlX4dCV5m+/OAwdDoWt4M879MTPINgfEC aorw== X-Gm-Message-State: ALoCoQm6q8R2m7o/udpqRV/ofUE0kPFTFk85hMJbDbfhxRKbHyaQTGDKN63D3a2++7GOHxaXLQn+ X-Received: by 10.68.197.137 with SMTP id iu9mr3388235pbc.3.1391017539246; Wed, 29 Jan 2014 09:45:39 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.87.54 with SMTP id q51ls210094qgd.99.gmail; Wed, 29 Jan 2014 09:45:39 -0800 (PST) X-Received: by 10.58.181.230 with SMTP id dz6mr788046vec.35.1391017539019; Wed, 29 Jan 2014 09:45:39 -0800 (PST) Received: from mail-vb0-f47.google.com (mail-vb0-f47.google.com [209.85.212.47]) by mx.google.com with ESMTPS id y6si1011247veb.101.2014.01.29.09.45.38 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 29 Jan 2014 09:45:39 -0800 (PST) Received-SPF: neutral (google.com: 209.85.212.47 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.212.47; Received: by mail-vb0-f47.google.com with SMTP id p6so1343427vbe.6 for ; Wed, 29 Jan 2014 09:45:38 -0800 (PST) X-Received: by 10.220.124.65 with SMTP id t1mr2039327vcr.26.1391017538693; Wed, 29 Jan 2014 09:45:38 -0800 (PST) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.220.174.196 with SMTP id u4csp132597vcz; Wed, 29 Jan 2014 09:45:38 -0800 (PST) X-Received: by 10.68.130.169 with SMTP id of9mr9348410pbb.79.1391017537577; Wed, 29 Jan 2014 09:45:37 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id eb3si3437436pbc.56.2014.01.29.09.45.36; Wed, 29 Jan 2014 09:45:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752817AbaA2Rp1 (ORCPT + 27 others); Wed, 29 Jan 2014 12:45:27 -0500 Received: from relais.videotron.ca ([24.201.245.36]:21485 "EHLO relais.videotron.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752122AbaA2RpV (ORCPT ); Wed, 29 Jan 2014 12:45:21 -0500 Received: from yoda.home ([66.130.143.177]) by VL-VM-MR006.ip.videotron.ca (Oracle Communications Messaging Exchange Server 7u4-22.01 64bit (built Apr 21 2011)) with ESMTP id <0N0600HNABZJEK40@VL-VM-MR006.ip.videotron.ca>; Wed, 29 Jan 2014 12:45:19 -0500 (EST) Received: from xanadu.home (xanadu.home [192.168.2.2]) by yoda.home (Postfix) with ESMTP id 4C5452DA06FD; Wed, 29 Jan 2014 12:45:19 -0500 (EST) From: Nicolas Pitre To: Russell King , Benjamin Herrenschmidt , Preeti U Murthy , Paul Mundt , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , "Rafael J. Wysocki" , Daniel Lezcano Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org, linux-sh@vger.kernel.org, linux-pm@vger.kernel.org, linaro-kernel@lists.linaro.org Subject: [PATCH v2 4/6] SH: remove redundant cpuidle_idle_call() Date: Wed, 29 Jan 2014 12:45:11 -0500 Message-id: <1391017513-12995-5-git-send-email-nicolas.pitre@linaro.org> X-Mailer: git-send-email 1.8.4.108.g55ea5f6 In-reply-to: <1391017513-12995-1-git-send-email-nicolas.pitre@linaro.org> References: <1391017513-12995-1-git-send-email-nicolas.pitre@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: nicolas.pitre@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.212.47 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Content-transfer-encoding: 7BIT The core idle loop now takes care of it. Signed-off-by: Nicolas Pitre Acked-by: Daniel Lezcano --- arch/sh/kernel/idle.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arch/sh/kernel/idle.c b/arch/sh/kernel/idle.c index 2ea4483fd7..be616ee0cf 100644 --- a/arch/sh/kernel/idle.c +++ b/arch/sh/kernel/idle.c @@ -16,7 +16,6 @@ #include #include #include -#include #include #include #include @@ -40,8 +39,7 @@ void arch_cpu_idle_dead(void) void arch_cpu_idle(void) { - if (cpuidle_idle_call()) - sh_idle(); + sh_idle(); } void __init select_idle_routine(void)