From patchwork Sun Feb 10 05:58:12 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Len Brown X-Patchwork-Id: 2121651 X-Patchwork-Delegate: lenb@kernel.org Return-Path: X-Original-To: patchwork-linux-pm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 2944B3FCD5 for ; Sun, 10 Feb 2013 06:02:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752267Ab3BJGCB (ORCPT ); Sun, 10 Feb 2013 01:02:01 -0500 Received: from mail-vb0-f49.google.com ([209.85.212.49]:37377 "EHLO mail-vb0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752078Ab3BJF6h (ORCPT ); Sun, 10 Feb 2013 00:58:37 -0500 Received: by mail-vb0-f49.google.com with SMTP id s24so3183974vbi.36 for ; Sat, 09 Feb 2013 21:58:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:in-reply-to:references:reply-to:organization; bh=fIf7AmBLxXtwCaQ6aAyY+AkqOHi1BztX2q69mErLwc0=; b=sLB5gzNIG0t4cMnnfYR4Q5bSH34po4l0TitrnnVyQ6tL1EBtTCEXU/0PndXlVxiTYq WF17/cpKtlkbcOdSnp5VJpToeEna2wwiybNT1plhE4RVpb+7absLog+zZ2COYMlMlgd3 mnbZzu3BWj6Z6RL435jetitx9toTsllvCfX2GK1nzTnr0Oc6usMD8wrsuidKO/v+54hu gp1zxPAFkrKr0uSSftre0VEUkSpfYz7XynnNqzHqG1DQTG5gOaIzTqvLrE085imti/8o LGFBL8RahZXsjGkmXiFr1QAZWtSSYIQo7qp+JexMRcL7Fwbu19hC8WQYuvyXQsGwL1eN S3rg== X-Received: by 10.52.72.67 with SMTP id b3mr8417977vdv.14.1360475916932; Sat, 09 Feb 2013 21:58:36 -0800 (PST) Received: from x980.localdomain6 (pool-108-7-58-246.bstnma.fios.verizon.net. [108.7.58.246]) by mx.google.com with ESMTPS id p7sm42173052vdt.2.2013.02.09.21.58.35 (version=TLSv1 cipher=RC4-SHA bits=128/128); Sat, 09 Feb 2013 21:58:36 -0800 (PST) From: Len Brown To: linux-pm@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Len Brown , uclinux-dist-devel@blackfin.uclinux.org Subject: [PATCH 05/16] blackfin idle: delete pm_idle Date: Sun, 10 Feb 2013 00:58:12 -0500 Message-Id: <8408629d64626937a5202751703dae7f41941f7a.1360475150.git.len.brown@intel.com> X-Mailer: git-send-email 1.8.1.3.535.ga923c31 In-Reply-To: <1360475903-30007-1-git-send-email-lenb@kernel.org> References: <1360475903-30007-1-git-send-email-lenb@kernel.org> In-Reply-To: <2b219d07e0f287c2c713f5465fc8646158fa986e.1360475150.git.len.brown@intel.com> References: <2b219d07e0f287c2c713f5465fc8646158fa986e.1360475150.git.len.brown@intel.com> Reply-To: Len Brown Organization: Intel Open Source Technology Center Sender: linux-pm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-pm@vger.kernel.org From: Len Brown pm_idle is dead code on blackfin. Signed-off-by: Len Brown Cc: uclinux-dist-devel@blackfin.uclinux.org --- arch/blackfin/kernel/process.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/arch/blackfin/kernel/process.c b/arch/blackfin/kernel/process.c index 3e16ad9..8061426 100644 --- a/arch/blackfin/kernel/process.c +++ b/arch/blackfin/kernel/process.c @@ -39,12 +39,6 @@ int nr_l1stack_tasks; void *l1_stack_base; unsigned long l1_stack_len; -/* - * Powermanagement idle function, if any.. - */ -void (*pm_idle)(void) = NULL; -EXPORT_SYMBOL(pm_idle); - void (*pm_power_off)(void) = NULL; EXPORT_SYMBOL(pm_power_off); @@ -81,7 +75,6 @@ void cpu_idle(void) { /* endless idle loop with no priority at all */ while (1) { - void (*idle)(void) = pm_idle; #ifdef CONFIG_HOTPLUG_CPU if (cpu_is_offline(smp_processor_id()))