From patchwork Thu Jun 11 10:51:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Viresh Kumar X-Patchwork-Id: 49739 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 CB9E920C81 for ; Thu, 11 Jun 2015 10:52:23 +0000 (UTC) Received: by labsp1 with SMTP id sp1sf1093364lab.3 for ; Thu, 11 Jun 2015 03:52:22 -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=W+4L/91aSdWY2WM1B/w8xAB53YwTKSi796cFt7Yt44c=; b=jxvNYXVaq3Cbwt3uLO3H/oCs9ctmcdCJLC7nUR/IVS9VrG+l2krELOPqXTeimenLaY pPN830lQwHIPv4g3biCg6i1eKa6aL78a9P4QKHFovHoC+xUMJVypbLTWLHE1ZvxBy48h qvfp9snQXT87eDWrU6+SlbXfC55nw95LFu6X/3FxTsgxz9ikU31BGu/LHK+G4FGa2BJ1 saDT3RwI6rvvBRJCDH2aDXen4UI8ysWxAa5jjTcmlSek30bAcepCYV7HLkruvVBKWHKV j5BjA+XJCzBw7As3DqarUud5Ivhr4Fif10s50IYK0th4kMj5i1/o1EXEBfCoOiZm3XZz BUJA== X-Gm-Message-State: ALoCoQmlC5RwlSM3Imrqf6Qqc3N0PCNM1RqPBsTySbeDO+W9LmbIhq+2bEVkWBhshqKs5988gZbb X-Received: by 10.112.166.137 with SMTP id zg9mr7827543lbb.11.1434019942560; Thu, 11 Jun 2015 03:52:22 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.168 with SMTP id kz8ls317121lac.105.gmail; Thu, 11 Jun 2015 03:52:22 -0700 (PDT) X-Received: by 10.112.124.71 with SMTP id mg7mr9191683lbb.38.1434019942414; Thu, 11 Jun 2015 03:52:22 -0700 (PDT) Received: from mail-la0-f54.google.com (mail-la0-f54.google.com. [209.85.215.54]) by mx.google.com with ESMTPS id qy4si274845lbb.31.2015.06.11.03.52.22 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Jun 2015 03:52:22 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.54 as permitted sender) client-ip=209.85.215.54; Received: by labko7 with SMTP id ko7so2386967lab.2 for ; Thu, 11 Jun 2015 03:52:22 -0700 (PDT) X-Received: by 10.152.6.69 with SMTP id y5mr9055557lay.72.1434019942289; Thu, 11 Jun 2015 03:52:22 -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 hn6csp3952315lbb; Thu, 11 Jun 2015 03:52:21 -0700 (PDT) X-Received: by 10.66.216.70 with SMTP id oo6mr13848998pac.24.1434019940448; Thu, 11 Jun 2015 03:52:20 -0700 (PDT) Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j15si370974pdk.208.2015.06.11.03.52.19; Thu, 11 Jun 2015 03:52:20 -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 S1751911AbbFKKwT (ORCPT + 11 others); Thu, 11 Jun 2015 06:52:19 -0400 Received: from mail-pd0-f182.google.com ([209.85.192.182]:35027 "EHLO mail-pd0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751754AbbFKKwS (ORCPT ); Thu, 11 Jun 2015 06:52:18 -0400 Received: by pdbnf5 with SMTP id nf5so2453217pdb.2 for ; Thu, 11 Jun 2015 03:52:18 -0700 (PDT) X-Received: by 10.70.93.106 with SMTP id ct10mr14045322pdb.92.1434019938200; Thu, 11 Jun 2015 03:52:18 -0700 (PDT) Received: from localhost ([122.167.219.251]) by mx.google.com with ESMTPSA id ie3sm384954pbb.49.2015.06.11.03.52.16 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Thu, 11 Jun 2015 03:52:17 -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 02/12] cpufreq: governor: Drop unused field 'cpu' Date: Thu, 11 Jun 2015 16:21:45 +0530 Message-Id: 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.54 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. 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;