From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752292AbdKWDzl (ORCPT ); Wed, 22 Nov 2017 22:55:41 -0500 Received: from mail-pg0-f67.google.com ([74.125.83.67]:43042 "EHLO mail-pg0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752133AbdKWDzk (ORCPT ); Wed, 22 Nov 2017 22:55:40 -0500 X-Google-Smtp-Source: AGs4zMbZo0G5/QJAgROPUVXT/cLB7KbBI0v9esgcd/QKMcjWLuQzy5U0Qicyb+mAdul1Ezxmhz4NzA== Date: Thu, 23 Nov 2017 09:25:35 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: Linux PM , LKML , Srinivas Pandruvada Subject: Re: [PATCH 1/4] cpufreq: Clean up cpufreq_parse_governor() Message-ID: <20171123035535.GC4084@vireshk-i7> References: <1655574.Es7zYAeW1r@aspire.rjw.lan> <1657366.eeJssZH0Uk@aspire.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1657366.eeJssZH0Uk@aspire.rjw.lan> User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23-11-17, 01:23, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > Drop an unnecessary local variable from cpufreq_parse_governor() > and rearrange the code in there to make it easier to follow. > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/cpufreq.c | 32 +++++++++++++++++--------------- > 1 file changed, 17 insertions(+), 15 deletions(-) Acked-by: Viresh Kumar -- viresh