From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id BB1D6C388F9 for ; Fri, 23 Oct 2020 05:39:45 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4BA6720BED for ; Fri, 23 Oct 2020 05:39:45 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="jUqn3tal" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S371536AbgJWFjo (ORCPT ); Fri, 23 Oct 2020 01:39:44 -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-Google-Smtp-Source: ABdhPJwwgMlBA7avKaLbk7ip6uKKjC8HhmmBDd3qnEE1JHCTvvMQNT89AjgH+zDznYNOwhrAQ83GYw== 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