Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp543437pxu; Fri, 23 Oct 2020 07:31:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5hm6knwhbe/JVTCNsHf7QR10vcVgVIwfObcNf5Mw67Z3MQujiZ4h5rJxHOMMF218jUkwK X-Received: by 2002:a17:906:c2d8:: with SMTP id ch24mr2187077ejb.239.1603463490266; Fri, 23 Oct 2020 07:31:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603463490; cv=none; d=google.com; s=arc-20160816; b=UqbjERWpFyHYQK7seeHkywkbHIM8uyHnWe2eWGtbvj1l6zwIkDSy05yYaKxyD5bMXW 6X5li/kNEmKAF1DEUMVoX5AgqCTA656AomiHMKIHERYmZcMqxDc/jAfkhZUVlrOxCkfb 1kqx84JsDHOIjMOswlSxUo2HE4EYYyyBSQIMbK8cjkb2DaTyLu0QmUi0muoSvRletmtR ysb4+dxGA7INS/rDRt5PilGdnpqkqisXx3tqEuS8gsaSXoX0h+poYTIFbyaeERgUpJAA QboMifCEmssyBWkVb6iFbs0fD8grZxPhzWc7YCfX+Jz/K4qG7VulJDTIVEjtVN7Y0o8j AXkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=FSl9yZQEGsIPYQVxtj+sm52raMGyjPKKi+Jg6yVVKDY=; b=kSYR9zrmQ4wxbb5M3/sAq6OYDwqwThix6Q//4CEOmZ+83ADKxrMCb27h5Pzv5CHehM lXuhCdscA7kGwUZWjhziof+7ak3F6hePhj1HuqW/+jCvfWw5sYe0Hfsx/PhuRN7Wrkzx lmKK5sxPxq+XAdUhT4E2Isnp8p1eAC8NJLD1FGMMB5aWl04H+CSgnxBTBtJvVodVHiTo LW5wgu+hO/0RDPSHGHF3iQRYAP0+S3uMOnWQVaaeMyUZPhhX4+kW8IEyVRcQOwGvpd+A SAIXUShs93n33nJcIgwXlt6ejd1Bk/z1OJw37re4ljS5v2omFSh4wzc8F2BYAWuGNCWw cfNg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jUqn3tal; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v22si874960edd.30.2020.10.23.07.31.04; Fri, 23 Oct 2020 07:31:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=jUqn3tal; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S371410AbgJWFjn (ORCPT + 99 others); Fri, 23 Oct 2020 01:39:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2896447AbgJWFjn (ORCPT ); Fri, 23 Oct 2020 01:39:43 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D145C0613CE for ; Thu, 22 Oct 2020 22:39:42 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id e15so273651pfh.6 for ; Thu, 22 Oct 2020 22:39:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=FSl9yZQEGsIPYQVxtj+sm52raMGyjPKKi+Jg6yVVKDY=; b=jUqn3talUm2gCjYA1KLQa2/isLqjGJBLC+efpw8zNRZweJiPqSsMHNO7vDIss5LQ2S FgmXDpd8YQbejlZxvdqkMMD2qQUypmt1Scmg1g06r/na9AEHhE79Arv9R421VxTKveyD 5JT6uHOc5jUtPzYE6KhK5tMuM79UC6YEqE5qCElWhJoGqshe1sZpWt1koW8McgbNcQgY qwMpbW8epOejhXwilml5QK0wcjtR6MvdzK9ARYcDZcdCInq5Ss3pGNd9Xp7b1pHAfC87 YZtsimTtNX7lgwU5qswV/4f7dHDhp889U5JJ1kNq4Q+QAbs3e1HCSWrEqfCHckjvW/4E 66Rw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=FSl9yZQEGsIPYQVxtj+sm52raMGyjPKKi+Jg6yVVKDY=; b=OjV5XqMgdxJFt/h3gW9kBm65JtApHa5IRLd2UpEdl3/1x2ll2qWwrxLEdzVdEmS6f6 6kU33CXoT+QbTKLuH1V6brFF1RZNzG2rm5lbjMQrfQyldVCCFJjDSvUKlOCx7g4P1rhU 7xypl3+GdMug6OP3BVkQfZdK0jQ6K2g83qnGilWOxpPXDOOE4KNOTSwn3l0mi19rp5wQ lAQVhv/6yPYgblbWf1ti+RrHUGIUaqUedkzBoiaZ7Pnuzp6UvdxRJzyWWnBrBICvtotY rTKZHTl5aQbtGHjsiHoRT4E3Uxn278XbnRLPTldmvaiD4wmuESmCh8vLVwGphe3cGm4y 1Cfw== X-Gm-Message-State: AOAM532C+HM2bh7HgeQT9pzDiBN6ox7/oHLywYUf1Q3uYh0M7FAHue/g +biC/onBjRB2wvAeD60iZXKWKQ== X-Received: by 2002:a17:90a:4481:: with SMTP id t1mr673937pjg.216.1603431581668; Thu, 22 Oct 2020 22:39:41 -0700 (PDT) Received: from localhost ([122.181.54.133]) by smtp.gmail.com with ESMTPSA id d9sm501375pjx.47.2020.10.22.22.39.40 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Oct 2020 22:39:40 -0700 (PDT) Date: Fri, 23 Oct 2020 11:09:38 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: Linux PM , LKML , Srinivas Pandruvada , Zhang Rui Subject: Re: [PATCH 2/2] cpufreq: Drop restore_freq from struct cpufreq_policy Message-ID: <20201023053938.4lu6f6uvysfevhm6@vireshk-i7> References: <1666263.spd1I39WAV@kreacher> <3286881.tlMdjJ8CK2@kreacher> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3286881.tlMdjJ8CK2@kreacher> User-Agent: NeoMutt/20180716-391-311a52 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 22-10-20, 13:57, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > The restore_freq field in struct cpufreq_policy is only used by > __target_index() in one place and a local variable in that function > may as well be used instead of it, so drop it and modify > __target_index() accordingly. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/cpufreq.c | 10 +++++----- > include/linux/cpufreq.h | 5 ----- > 2 files changed, 5 insertions(+), 10 deletions(-) Acked-by: Viresh Kumar -- viresh