Message ID | 484221f147f77526116e0d5b3c1f04679515bc7a.1417664938.git.viresh.kumar@linaro.org |
---|---|
State | Accepted |
Commit | 8e54d442fe3cdd1ffe5f563ee843b4d48e14ef6e |
Headers | show
Return-Path: <patchwork-forward+bncBCRIZROPVQPBB3F676RQKGQEK5KR65I@linaro.org> X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-la0-f70.google.com (mail-la0-f70.google.com [209.85.215.70]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 1FD5A25E88 for <linaro@patches.linaro.org>; Thu, 4 Dec 2014 04:13:33 +0000 (UTC) Received: by mail-la0-f70.google.com with SMTP id hs14sf6974030lab.9 for <linaro@patches.linaro.org>; Wed, 03 Dec 2014 20:13:32 -0800 (PST) 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=f5C7E1HdkBKiUNy+ZYluK2hzGcL8rF1y/nuWCoSpKRg=; b=kbVeDmAODcrGeQ4vRE+LL7S6x1Ivu/xIkzm9YE6wDrnWKH04BySvMNF3B1YEdDfV1x G0aXfcrolYplwQGvwPYyMhscMlJ7mWfmHXmJ7s1vq6CWm8+5FEa6utFxJ7/o0LYbcu4I Nptd+wtIK6Y9sGRBPm9I4kJWJiPPmOrv5JTPzQy2OEAZ+pR4m7RQ5lPkbO3eW9uwwxq0 jJbu+/MtLgIqx0YBDcXrbac85qo1Rclls11DwOOix/cTHAAtloRIjAs145pGTb7whF8v SgaMOkV9evEcV9yBytCpK84AFRIUFpUC3pLqSqST2NOCSM5Wgo0Nsr6kRd5UmQcsLaN1 TZ1A== X-Gm-Message-State: ALoCoQmPVWbeTOkdDONRpgMDIgu+XvGbVLCnysfWlSHvRCQru7L4QxZUAV2S6ul/JrZu/Wt59hTr X-Received: by 10.180.108.101 with SMTP id hj5mr2820865wib.3.1417666412166; Wed, 03 Dec 2014 20:13:32 -0800 (PST) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.134 with SMTP id b6ls116913laa.27.gmail; Wed, 03 Dec 2014 20:13:31 -0800 (PST) X-Received: by 10.152.170.131 with SMTP id am3mr7154977lac.15.1417666411944; Wed, 03 Dec 2014 20:13:31 -0800 (PST) Received: from mail-la0-f52.google.com (mail-la0-f52.google.com. [209.85.215.52]) by mx.google.com with ESMTPS id c1si24671743lbv.23.2014.12.03.20.13.31 for <patchwork-forward@linaro.org> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 03 Dec 2014 20:13:31 -0800 (PST) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) client-ip=209.85.215.52; Received: by mail-la0-f52.google.com with SMTP id hs14so8816996lab.25 for <patchwork-forward@linaro.org>; Wed, 03 Dec 2014 20:13:31 -0800 (PST) X-Received: by 10.152.87.100 with SMTP id w4mr7193516laz.71.1417666411868; Wed, 03 Dec 2014 20:13:31 -0800 (PST) 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.112.184.201 with SMTP id ew9csp781060lbc; Wed, 3 Dec 2014 20:13:31 -0800 (PST) X-Received: by 10.66.151.162 with SMTP id ur2mr14491734pab.115.1417666410290; Wed, 03 Dec 2014 20:13:30 -0800 (PST) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id df1si18139882pdb.237.2014.12.03.20.13.29 for <multiple recipients>; Wed, 03 Dec 2014 20:13:30 -0800 (PST) Received-SPF: none (google.com: linux-pm-owner@vger.kernel.org does not designate permitted sender hosts) client-ip=209.132.180.67; Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752991AbaLDEN3 (ORCPT <rfc822;amit.pundir@linaro.org> + 12 others); Wed, 3 Dec 2014 23:13:29 -0500 Received: from mail-pd0-f182.google.com ([209.85.192.182]:62208 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752983AbaLDEN2 (ORCPT <rfc822;linux-pm@vger.kernel.org>); Wed, 3 Dec 2014 23:13:28 -0500 Received: by mail-pd0-f182.google.com with SMTP id r10so16895079pdi.13 for <linux-pm@vger.kernel.org>; Wed, 03 Dec 2014 20:13:28 -0800 (PST) X-Received: by 10.68.78.99 with SMTP id a3mr22577603pbx.0.1417666408262; Wed, 03 Dec 2014 20:13:28 -0800 (PST) Received: from localhost ([122.166.92.172]) by mx.google.com with ESMTPSA id yo1sm2177520pab.27.2014.12.03.20.13.27 for <multiple recipients> (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 03 Dec 2014 20:13:27 -0800 (PST) From: Viresh Kumar <viresh.kumar@linaro.org> To: linux-pm@vger.kernel.org, edubezval@gmail.com Cc: linaro-kernel@lists.linaro.org, rui.zhang@intel.com, amit.daniel@samsung.com, javi.merino@arm.com, Viresh Kumar <viresh.kumar@linaro.org> Subject: [PATCH V2 11/26] thermal: cpu_cooling: no need to initialze 'ret' Date: Thu, 4 Dec 2014 09:41:53 +0530 Message-Id: <484221f147f77526116e0d5b3c1f04679515bc7a.1417664938.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.0.3.693.g996b0fd In-Reply-To: <cover.1417664938.git.viresh.kumar@linaro.org> References: <cover.1417664938.git.viresh.kumar@linaro.org> In-Reply-To: <cover.1417664938.git.viresh.kumar@linaro.org> References: <cover.1417664938.git.viresh.kumar@linaro.org> Sender: linux-pm-owner@vger.kernel.org Precedence: list List-ID: <patchwork-forward.linaro.org> X-Mailing-List: linux-pm@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=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.52 as permitted sender) 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: <mailto:googlegroups-manage+836684582541+unsubscribe@googlegroups.com>, <http://groups.google.com/a/linaro.org/group/patchwork-forward/subscribe> |
diff --git a/drivers/thermal/cpu_cooling.c b/drivers/thermal/cpu_cooling.c index c144493..d57b8bb 100644 --- a/drivers/thermal/cpu_cooling.c +++ b/drivers/thermal/cpu_cooling.c @@ -454,7 +454,7 @@ __cpufreq_cooling_register(struct device_node *np, struct cpufreq_cooling_device *cpufreq_dev; unsigned int min = 0, max = 0; char dev_name[THERMAL_NAME_LENGTH]; - int ret = 0, i; + int ret, i; struct cpufreq_policy policy; if (!cpufreq_frequency_get_table(cpumask_first(clip_cpus))) {
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- drivers/thermal/cpu_cooling.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)