From patchwork Wed Mar 26 11:21:14 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 27110 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f199.google.com (mail-vc0-f199.google.com [209.85.220.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4C16120369 for ; Wed, 26 Mar 2014 11:24:44 +0000 (UTC) Received: by mail-vc0-f199.google.com with SMTP id lh14sf4244803vcb.6 for ; Wed, 26 Mar 2014 04:24:43 -0700 (PDT) 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: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; bh=oJcG9sXuVWEH9oDXHZoMrCJ4K80Q1pi8NKufV05EzsU=; b=BierJ2xjwWkpGPYYh2k7KFJRAacgMqL5RWheix3YwrBjgjpboBzip0Evl5t7Lm/+AY R2tqUJpz/JXwtXA79ingfJ91kW6+Qw73CRWrsvoRui/yWzfQ+Zk1VMRHW4TV7569hq6O EWUZWlDxqRzJECj/qnInzwf/O0mW78t4QOK4LgMLxKw9oELyNpHJzsb+1KfBUszDOTCz aCWhQFeUr0n57td6bus0HMuTWUFhI7fpBg9vkhYEVDdOOHXzQZT2HILDJJCsHYvkKD4k dLA7G7Xzsl4sFPHlRov8K9ZSBebmwiNecbKWS7n5DE7ctALWzN31ug+c9wgYx7+IZUqS /gNA== X-Gm-Message-State: ALoCoQkYCS3m21bxWCH8blS4LLhGanzJePw6RQr6s/aEBcbRYKArUhSldF3EnQlrWIB7oNsOR5+T X-Received: by 10.236.86.67 with SMTP id v43mr22104432yhe.41.1395833083946; Wed, 26 Mar 2014 04:24:43 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.17.3 with SMTP id 3ls527862qgc.83.gmail; Wed, 26 Mar 2014 04:24:43 -0700 (PDT) X-Received: by 10.221.20.199 with SMTP id qp7mr1424678vcb.24.1395833083887; Wed, 26 Mar 2014 04:24:43 -0700 (PDT) Received: from mail-ve0-f178.google.com (mail-ve0-f178.google.com [209.85.128.178]) by mx.google.com with ESMTPS id is3si4436457vec.207.2014.03.26.04.24.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 26 Mar 2014 04:24:43 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.178 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.178; Received: by mail-ve0-f178.google.com with SMTP id jw12so2072551veb.23 for ; Wed, 26 Mar 2014 04:24:43 -0700 (PDT) X-Received: by 10.221.4.66 with SMTP id ob2mr374481vcb.28.1395833083822; Wed, 26 Mar 2014 04:24:43 -0700 (PDT) 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.78.9 with SMTP id i9csp38167vck; Wed, 26 Mar 2014 04:24:43 -0700 (PDT) X-Received: by 10.68.242.68 with SMTP id wo4mr86439481pbc.32.1395833082985; Wed, 26 Mar 2014 04:24:42 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w4si13621004paa.34.2014.03.26.04.24.41; Wed, 26 Mar 2014 04:24:41 -0700 (PDT) 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 S1754948AbaCZLYd (ORCPT + 26 others); Wed, 26 Mar 2014 07:24:33 -0400 Received: from mail-we0-f172.google.com ([74.125.82.172]:53781 "EHLO mail-we0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754577AbaCZLWg (ORCPT ); Wed, 26 Mar 2014 07:22:36 -0400 Received: by mail-we0-f172.google.com with SMTP id t61so1045670wes.17 for ; Wed, 26 Mar 2014 04:22:34 -0700 (PDT) X-Received: by 10.180.75.202 with SMTP id e10mr31144720wiw.50.1395832954902; Wed, 26 Mar 2014 04:22:34 -0700 (PDT) Received: from localhost ([213.122.173.131]) by mx.google.com with ESMTPSA id h5sm1757162wiy.18.2014.03.26.04.22.31 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 26 Mar 2014 04:22:34 -0700 (PDT) From: Viresh Kumar To: tglx@linutronix.de Cc: linaro-kernel@lists.linaro.org, linux-kernel@vger.kernel.org, fweisbec@gmail.com, linaro-networking@linaro.org, Viresh Kumar Subject: [PATCH 08/14] hrtimer: remove dummy definition of hrtimer_force_reprogram() Date: Wed, 26 Mar 2014 16:51:14 +0530 Message-Id: <3525e4ce8a596302d1d6772e26d13d36eb13f0bd.1395832156.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: References: In-Reply-To: References: 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: viresh.kumar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.178 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: , hrtimer_force_reprogram() is only called from parts of kernel which are defined within #ifdef CONFIG_HIGH_RES_TIMERS and so its empty definition is never used. Remove it. Signed-off-by: Viresh Kumar --- kernel/hrtimer.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index cb485b9..5b3b212 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c @@ -728,8 +728,6 @@ void clock_was_set_delayed(void) static inline int hrtimer_hres_active(void) { return 0; } static inline int hrtimer_is_hres_enabled(void) { return 0; } static inline int hrtimer_switch_to_hres(void) { return 0; } -static inline void -hrtimer_force_reprogram(struct hrtimer_cpu_base *base, int skip_equal) { } static inline int hrtimer_enqueue_reprogram(struct hrtimer *timer, struct hrtimer_clock_base *base) {