From patchwork Fri Apr 4 06:35:49 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 27738 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ob0-f198.google.com (mail-ob0-f198.google.com [209.85.214.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 3F3672036E for ; Fri, 4 Apr 2014 06:41:18 +0000 (UTC) Received: by mail-ob0-f198.google.com with SMTP id wn1sf9554362obc.9 for ; Thu, 03 Apr 2014 23:41:17 -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=D/3tjAB9/fKglC0cPmapJtkfizBWsaHvIgAX82buwNc=; b=dGHRYvZl/Gn7PvDydBWMk42vgxQ3x+IRUGPLBfO2/r7oTU48Jh9iRpVLt1i779taWq DYBnH6d4h4Km0ZjuNR9lNlKlbJEzbywcCLCZSzuyJ7wxgd/y2A9i/Wz1fjj9RmuocA0P L0/UtQSGO7f0S4aOsdchkNNbqnuRd0kLAl/bQuEQ6+D6Qi5luf2c5UANh8ulBzhNb2hh ur1z9BYkFeDKJTtHxO34/pSFSZi5zGaLxHK6fE1eDk+QNIHUD5n+vH4iSL64pQXN5J1O PPju2kZp6i9TlC3l0bH5ThdALUBCmKzDIVPdjLKrWzw/8Oirxm7wJakkvmK6FLgBFYK0 G//A== X-Gm-Message-State: ALoCoQnZBcgenBSU9qWDqkybjP29Uw6rRlWXfZZXEq0gtNefs7CSxngJhjTmJS/JEk1u6RTFkv2w X-Received: by 10.42.235.206 with SMTP id kh14mr5849129icb.30.1396593677583; Thu, 03 Apr 2014 23:41:17 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.40.200 with SMTP id x66ls897198qgx.46.gmail; Thu, 03 Apr 2014 23:41:17 -0700 (PDT) X-Received: by 10.59.7.102 with SMTP id db6mr3719889ved.17.1396593677419; Thu, 03 Apr 2014 23:41:17 -0700 (PDT) Received: from mail-ve0-f174.google.com (mail-ve0-f174.google.com [209.85.128.174]) by mx.google.com with ESMTPS id wy9si1651823vdc.1.2014.04.03.23.41.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Apr 2014 23:41:17 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.174 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.174; Received: by mail-ve0-f174.google.com with SMTP id oz11so1095305veb.19 for ; Thu, 03 Apr 2014 23:41:17 -0700 (PDT) X-Received: by 10.52.240.207 with SMTP id wc15mr9937590vdc.14.1396593676365; Thu, 03 Apr 2014 23:41:16 -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.12.8 with SMTP id v8csp89209vcv; Thu, 3 Apr 2014 23:41:15 -0700 (PDT) X-Received: by 10.68.198.36 with SMTP id iz4mr12885634pbc.109.1396593674512; Thu, 03 Apr 2014 23:41:14 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id zt8si4194210pbc.58.2014.04.03.23.41.13; Thu, 03 Apr 2014 23:41:13 -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 S1752403AbaDDGlE (ORCPT + 27 others); Fri, 4 Apr 2014 02:41:04 -0400 Received: from mail-wg0-f46.google.com ([74.125.82.46]:57322 "EHLO mail-wg0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752112AbaDDGkX (ORCPT ); Fri, 4 Apr 2014 02:40:23 -0400 Received: by mail-wg0-f46.google.com with SMTP id b13so2949734wgh.29 for ; Thu, 03 Apr 2014 23:40:22 -0700 (PDT) X-Received: by 10.180.78.200 with SMTP id d8mr1810664wix.34.1396593622580; Thu, 03 Apr 2014 23:40:22 -0700 (PDT) Received: from localhost ([213.122.173.131]) by mx.google.com with ESMTPSA id k9sm11001372wjx.37.2014.04.03.23.40.19 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 03 Apr 2014 23:40:21 -0700 (PDT) From: Viresh Kumar To: tglx@linutronix.de Cc: linaro-kernel@lists.linaro.org, fweisbec@gmail.com, linaro-networking@linaro.org, Arvind.Chauhan@arm.com, linux-kernel@vger.kernel.org, Viresh Kumar Subject: [PATCH V2 06/36] hrtimer: remove dummy definition of hrtimer_force_reprogram() Date: Fri, 4 Apr 2014 12:05:49 +0530 Message-Id: <3f26ec61bb598af832c0d6b2ba6f14a0610cad4a.1396592516.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.174 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 between #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 4843238..f6b1968 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c @@ -730,8 +730,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) {