From patchwork Mon Apr 14 16:23:40 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 28359 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ig0-f197.google.com (mail-ig0-f197.google.com [209.85.213.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id E1E5D20534 for ; Mon, 14 Apr 2014 16:40:05 +0000 (UTC) Received: by mail-ig0-f197.google.com with SMTP id hn18sf12827968igb.0 for ; Mon, 14 Apr 2014 09:40:05 -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=oTQ8dTlDrdzEVDA7TgYPunFotog5kclDtVQhzLxDWuk=; b=BbyQOaC1HEz0VDlmLna/qn1vUWzwtEoblKdeyudc785EvsjeeKF9D3uOlmn/vvaSAu PgBxKWo55b4UqUGfdmII6lteCrg55PwFBY1VDZYWGH+nVl3v2dLh+v/5qcx9OVgCHIZD anxoQ2ImR1NskfqMncb0vOeEbqqHW6d8RmKV+6eT+prYq4+6GVSdyp2XwanFR5D9Vifs FYscbDuNm9NUkiB4wtrVMhaSkM7t2Izv3UX1UnWkMMy9318/g/YcHiZDxqyGFtY+XK+q zRk+P1AWsorxzEOmVG3KA+qJeSjO4ega7CkLTQiGvlFlC37JGu0mVe47CVWmHO9rKcag CsSw== X-Gm-Message-State: ALoCoQnZn1M7flHw5eRCnFJMbX3Ic7NQRBZgY91Kra9QjBR96GNCxlCAXiiQithp5XqHYy8+b3z6 X-Received: by 10.182.216.200 with SMTP id os8mr21314523obc.0.1397493605022; Mon, 14 Apr 2014 09:40:05 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.30.163 with SMTP id d32ls2652943qgd.44.gmail; Mon, 14 Apr 2014 09:40:04 -0700 (PDT) X-Received: by 10.58.105.105 with SMTP id gl9mr37386771veb.3.1397493604790; Mon, 14 Apr 2014 09:40:04 -0700 (PDT) Received: from mail-vc0-f182.google.com (mail-vc0-f182.google.com [209.85.220.182]) by mx.google.com with ESMTPS id sk2si2841310vcb.90.2014.04.14.09.40.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 14 Apr 2014 09:40:04 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.182 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.182; Received: by mail-vc0-f182.google.com with SMTP id ib6so8033655vcb.27 for ; Mon, 14 Apr 2014 09:40:04 -0700 (PDT) X-Received: by 10.221.63.1 with SMTP id xc1mr897644vcb.35.1397493604684; Mon, 14 Apr 2014 09:40:04 -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.221.72 with SMTP id ib8csp163832vcb; Mon, 14 Apr 2014 09:40:04 -0700 (PDT) X-Received: by 10.68.220.137 with SMTP id pw9mr22462771pbc.24.1397493603969; Mon, 14 Apr 2014 09:40:03 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l4si9170744pbn.121.2014.04.14.09.40.03; Mon, 14 Apr 2014 09:40:03 -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 S1755564AbaDNQ0J (ORCPT + 26 others); Mon, 14 Apr 2014 12:26:09 -0400 Received: from mail-pa0-f53.google.com ([209.85.220.53]:60056 "EHLO mail-pa0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755214AbaDNQ0C (ORCPT ); Mon, 14 Apr 2014 12:26:02 -0400 Received: by mail-pa0-f53.google.com with SMTP id ld10so8336986pab.26 for ; Mon, 14 Apr 2014 09:26:01 -0700 (PDT) X-Received: by 10.68.184.66 with SMTP id es2mr44966560pbc.19.1397492761634; Mon, 14 Apr 2014 09:26:01 -0700 (PDT) Received: from localhost ([122.167.126.16]) by mx.google.com with ESMTPSA id ak1sm34702927pbc.58.2014.04.14.09.25.58 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Mon, 14 Apr 2014 09:26:00 -0700 (PDT) From: Viresh Kumar To: tglx@linutronix.de Cc: linaro-kernel@lists.linaro.org, linux-kernel@vger.kernel.org, fweisbec@gmail.com, Arvind.Chauhan@arm.com, linaro-networking@linaro.org, Viresh Kumar Subject: [PATCH 18/38] tick-common: don't set mode to CLOCK_EVT_MODE_UNUSED in tick_shutdown() Date: Mon, 14 Apr 2014 21:53:40 +0530 Message-Id: <25b069afdaa6f28e561caefa74cd62c62974099a.1397492345.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.220.182 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: , tick_shutdown() calls clockevents_exchange_device() which already sets mode to CLOCK_EVT_MODE_UNUSED and so tick_shutdown() doesn't need to do it. Signed-off-by: Viresh Kumar --- kernel/time/tick-common.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/time/tick-common.c b/kernel/time/tick-common.c index bb9a218..3954f4d 100644 --- a/kernel/time/tick-common.c +++ b/kernel/time/tick-common.c @@ -334,7 +334,6 @@ void tick_shutdown(unsigned int *cpup) * Prevent that the clock events layer tries to call * the set mode function! */ - dev->mode = CLOCK_EVT_MODE_UNUSED; clockevents_exchange_device(dev, NULL); dev->event_handler = clockevents_handle_noop; td->evtdev = NULL;