Message ID | b71eb9fcda02eb4355687fb307ab2e70f7f61e07.1396592516.git.viresh.kumar@linaro.org |
---|---|
State | New |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBBCVI7GMQKGQEWHI2I7I@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-vc0-f198.google.com (mail-vc0-f198.google.com [209.85.220.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 01C042036E for <linaro@patches.linaro.org>; Fri, 4 Apr 2014 06:41:14 +0000 (UTC) Received: by mail-vc0-f198.google.com with SMTP id il7sf7745542vcb.9 for <linaro@patches.linaro.org>; Thu, 03 Apr 2014 23:41:14 -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=7a0dNGngaS59GDG3jNLY7YZH2c+TV3a+CAXMX/thkHA=; b=V0t6B3/sDfe1frILR6OfWk7jBQPxNnDOfsSkuFDvEuYsn9DdoxCtjhzBY4GWtPJHPx kfAZFmi0m1ULFZP70MhygUj6ZAzJCx0PNPUaqvYJmdiPSuHsX2LTpdskK9R8X2o4Au/Z rwjBsKnchlYFzJ81IkRc5v1Pa0fTHva6TneEIS+n/SEUPaRLTbJjNYm9D/Q/dzqSekH/ 5DWgZIUhwLqlyLKobwlMk52bwSZO2OEctkQhBcWnRu4FZXYTZwBq97Dmj0jMjlXTJPF6 BP0IyBvuYCPia5FCz53a+m15NP+FgmfM0aZfbiljD0edCNwbMwiPK7a+GNtVWu44C1Sx 0Ugw== X-Gm-Message-State: ALoCoQkB0xE2IQlR347I1k0yLvZzrJ4eX7gXyttNzUjFWTqDgEkIbdROGzdX48EshClaYDP1jLZH X-Received: by 10.236.112.4 with SMTP id x4mr6549386yhg.56.1396593674683; Thu, 03 Apr 2014 23:41:14 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.140.88.72 with SMTP id s66ls933812qgd.11.gmail; Thu, 03 Apr 2014 23:41:14 -0700 (PDT) X-Received: by 10.220.11.208 with SMTP id u16mr6681680vcu.19.1396593674523; Thu, 03 Apr 2014 23:41:14 -0700 (PDT) Received: from mail-vc0-f178.google.com (mail-vc0-f178.google.com [209.85.220.178]) by mx.google.com with ESMTPS id i16si1647109vcv.11.2014.04.03.23.41.14 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 03 Apr 2014 23:41:14 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.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.220.178; Received: by mail-vc0-f178.google.com with SMTP id im17so2749336vcb.23 for <patchwork-forward@linaro.org>; Thu, 03 Apr 2014 23:41:14 -0700 (PDT) X-Received: by 10.58.207.74 with SMTP id lu10mr3578147vec.15.1396593674446; Thu, 03 Apr 2014 23:41:14 -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 v8csp89206vcv; Thu, 3 Apr 2014 23:41:14 -0700 (PDT) X-Received: by 10.66.161.69 with SMTP id xq5mr12797597pab.62.1396593672924; Thu, 03 Apr 2014 23:41:12 -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.12; Thu, 03 Apr 2014 23:41:12 -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 S1752309AbaDDGk5 (ORCPT <rfc822;markus.mayer@linaro.org> + 27 others); Fri, 4 Apr 2014 02:40:57 -0400 Received: from mail-wi0-f175.google.com ([209.85.212.175]:63973 "EHLO mail-wi0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752108AbaDDGkM (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 4 Apr 2014 02:40:12 -0400 Received: by mail-wi0-f175.google.com with SMTP id cc10so589838wib.14 for <linux-kernel@vger.kernel.org>; Thu, 03 Apr 2014 23:40:10 -0700 (PDT) X-Received: by 10.194.189.80 with SMTP id gg16mr16653889wjc.84.1396593610821; Thu, 03 Apr 2014 23:40:10 -0700 (PDT) Received: from localhost ([213.122.173.131]) by mx.google.com with ESMTPSA id t18sm2695367wiv.16.2014.04.03.23.40.07 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 03 Apr 2014 23:40:10 -0700 (PDT) From: Viresh Kumar <viresh.kumar@linaro.org> 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 <viresh.kumar@linaro.org> Subject: [PATCH V2 04/36] hrtimer: remove {} around a single liner 'for' loop in migrate_hrtimers() Date: Fri, 4 Apr 2014 12:05:47 +0530 Message-Id: <b71eb9fcda02eb4355687fb307ab2e70f7f61e07.1396592516.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 1.7.12.rc2.18.g61b472e In-Reply-To: <cover.1396592516.git.viresh.kumar@linaro.org> References: <cover.1396592516.git.viresh.kumar@linaro.org> In-Reply-To: <cover.1396592516.git.viresh.kumar@linaro.org> References: <cover.1396592516.git.viresh.kumar@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> 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.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: <http://groups.google.com/a/linaro.org/group/patchwork-forward/post>, <mailto:patchwork-forward@linaro.org> List-Help: <http://support.google.com/a/linaro.org/bin/topic.py?topic=25838>, <mailto:patchwork-forward+help@linaro.org> List-Archive: <http://groups.google.com/a/linaro.org/group/patchwork-forward/> List-Unsubscribe: <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe>, <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com> |
diff --git a/kernel/hrtimer.c b/kernel/hrtimer.c index c87e896..514b53a 100644 --- a/kernel/hrtimer.c +++ b/kernel/hrtimer.c @@ -1712,10 +1712,9 @@ static void migrate_hrtimers(int scpu) raw_spin_lock(&new_base->lock); raw_spin_lock_nested(&old_base->lock, SINGLE_DEPTH_NESTING); - for (i = 0; i < HRTIMER_MAX_CLOCK_BASES; i++) { + for (i = 0; i < HRTIMER_MAX_CLOCK_BASES; i++) migrate_hrtimer_list(&old_base->clock_base[i], &new_base->clock_base[i]); - } raw_spin_unlock(&old_base->lock); raw_spin_unlock(&new_base->lock);
'for' loop in migrate_hrtimers() has only one line in its body and so doesn't require {} as per coding guidelines. Remove it. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- kernel/hrtimer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)