From patchwork Fri Jun 19 11:48:02 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 50077 Return-Path: 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 78B69218C9 for ; Fri, 19 Jun 2015 11:48:42 +0000 (UTC) Received: by laer2 with SMTP id r2sf2574238lae.3 for ; Fri, 19 Jun 2015 04:48:41 -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=9hNQLFGkv9GDFPa3uW2VD22xWSpXAAs561m2cBNeZOA=; b=WyqGSFHSLFcu8GPttb3L47JtTX1UrHDiYgU9oFj34JZAV8ym0cTN7DkrjKTu/xEMr7 S3Ioto1Xg3kHVAvDo901WSnlrHq04VBKxmSLB1nEZHIPI22u+46Sx4CDwXzT5wn+H8wX GUocb8e9xjB+XZykqIZmIIuZ7xlS5xHOJGAVaqDmBbeK5bqqTXKBwxZjNZyF2WzwRt2y N93gE7oWKKHRIpOwBazZSS9wyAVF3zCbxy6dbcslerqbAE7AUuenXGPumUL0n1ol/unu 1d5k3Pwc7HB2jnL0ZJ37U016KXDDtwCXxfUH2ZZbvyB1FMJV3LoXLXk4JgORM5z1sno0 4qVg== X-Gm-Message-State: ALoCoQmvyOq9FHwDHwzEyQr59W3FybTOR+G7q4n8npwL9gqlwKQIetkGMQcUcltBl38apXXfVUEO X-Received: by 10.180.198.172 with SMTP id jd12mr2920794wic.5.1434714521387; Fri, 19 Jun 2015 04:48:41 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.6.73 with SMTP id y9ls514488lay.18.gmail; Fri, 19 Jun 2015 04:48:41 -0700 (PDT) X-Received: by 10.152.44.225 with SMTP id h1mr17350291lam.5.1434714521222; Fri, 19 Jun 2015 04:48:41 -0700 (PDT) Received: from mail-la0-f51.google.com (mail-la0-f51.google.com. [209.85.215.51]) by mx.google.com with ESMTPS id t9si1228913laj.106.2015.06.19.04.48.41 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 19 Jun 2015 04:48:41 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.51 as permitted sender) client-ip=209.85.215.51; Received: by labbc20 with SMTP id bc20so72520562lab.1 for ; Fri, 19 Jun 2015 04:48:41 -0700 (PDT) X-Received: by 10.152.37.228 with SMTP id b4mr17147712lak.117.1434714521057; Fri, 19 Jun 2015 04:48:41 -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.112.108.230 with SMTP id hn6csp528972lbb; Fri, 19 Jun 2015 04:48:40 -0700 (PDT) X-Received: by 10.70.101.168 with SMTP id fh8mr30807529pdb.15.1434714519317; Fri, 19 Jun 2015 04:48:39 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ji4si16030128pbd.56.2015.06.19.04.48.38; Fri, 19 Jun 2015 04:48:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-pm-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 S1750772AbbFSLsh (ORCPT + 11 others); Fri, 19 Jun 2015 07:48:37 -0400 Received: from mail-pa0-f43.google.com ([209.85.220.43]:36086 "EHLO mail-pa0-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750954AbbFSLsh (ORCPT ); Fri, 19 Jun 2015 07:48:37 -0400 Received: by paceq1 with SMTP id eq1so59346924pac.3 for ; Fri, 19 Jun 2015 04:48:36 -0700 (PDT) X-Received: by 10.70.134.170 with SMTP id pl10mr31338443pdb.132.1434714516569; Fri, 19 Jun 2015 04:48:36 -0700 (PDT) Received: from localhost ([122.167.70.98]) by mx.google.com with ESMTPSA id ph4sm11043619pdb.43.2015.06.19.04.48.35 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Fri, 19 Jun 2015 04:48:35 -0700 (PDT) From: Viresh Kumar To: Rafael Wysocki , Preeti U Murthy , ke.wang@spreadtrum.com Cc: linaro-kernel@lists.linaro.org, linux-pm@vger.kernel.org, ego@linux.vnet.ibm.com, paulus@samba.org, shilpa.bhat@linux.vnet.ibm.com, prarit@redhat.com, robert.schoene@tu-dresden.de, skannan@codeaurora.org, Viresh Kumar Subject: [PATCH V2 02/10] cpufreq: governor: Drop unused field 'cpu' Date: Fri, 19 Jun 2015 17:18:02 +0530 Message-Id: <0d3ee73e771c52a13ddb94114a93b3b3f67c611b.1434713657.git.viresh.kumar@linaro.org> X-Mailer: git-send-email 2.4.0 In-Reply-To: References: In-Reply-To: References: Sender: linux-pm-owner@vger.kernel.org Precedence: list List-ID: 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.51 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: , List-Help: , List-Archive: List-Unsubscribe: , Its not used at all, drop it. Reviewed-by: Preeti U Murthy Signed-off-by: Viresh Kumar --- drivers/cpufreq/cpufreq_governor.c | 1 - drivers/cpufreq/cpufreq_governor.h | 1 - 2 files changed, 2 deletions(-) diff --git a/drivers/cpufreq/cpufreq_governor.c b/drivers/cpufreq/cpufreq_governor.c index 6024bbc782c0..2149ba7d32a8 100644 --- a/drivers/cpufreq/cpufreq_governor.c +++ b/drivers/cpufreq/cpufreq_governor.c @@ -353,7 +353,6 @@ static int cpufreq_governor_start(struct cpufreq_policy *policy, struct cpu_dbs_common_info *j_cdbs = cdata->get_cpu_cdbs(j); unsigned int prev_load; - j_cdbs->cpu = j; j_cdbs->cur_policy = policy; j_cdbs->prev_cpu_idle = get_cpu_idle_time(j, &j_cdbs->prev_cpu_wall, io_busy); diff --git a/drivers/cpufreq/cpufreq_governor.h b/drivers/cpufreq/cpufreq_governor.h index 352eecaae789..1bbf8c87fdd5 100644 --- a/drivers/cpufreq/cpufreq_governor.h +++ b/drivers/cpufreq/cpufreq_governor.h @@ -130,7 +130,6 @@ static void *get_cpu_dbs_info_s(int cpu) \ /* Per cpu structures */ struct cpu_dbs_common_info { - int cpu; u64 prev_cpu_idle; u64 prev_cpu_wall; u64 prev_cpu_nice;