Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753887AbaD3EG6 (ORCPT ); Wed, 30 Apr 2014 00:06:58 -0400 Received: from mail-ob0-f179.google.com ([209.85.214.179]:39928 "EHLO mail-ob0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753276AbaD3EG4 (ORCPT ); Wed, 30 Apr 2014 00:06:56 -0400 MIME-Version: 1.0 In-Reply-To: <535FE72D.2020402@semaphore.gr> References: <535FE72D.2020402@semaphore.gr> Date: Wed, 30 Apr 2014 09:36:55 +0530 Message-ID: Subject: Re: [PATCH] cpufreq: intel_pstate: Remove sample parameter in intel_pstate_calc_busy From: Viresh Kumar To: Stratos Karafotis Cc: "Rafael J. Wysocki" , Dirk Brandewie , "cpufreq@vger.kernel.org" , "linux-pm@vger.kernel.org" , LKML Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29 April 2014 23:23, Stratos Karafotis wrote: > Since commit d37e2b7644 ("intel_pstate: remove unneeded sample buffers") > we use only one sample. So, there is no need to pass the sample > pointer to intel_pstate_calc_busy. Instead, get the pointer from > cpudata. Also, remove the unused SAMPLE_COUNT macro. > > While at it, reformat the first line in this function. > > Signed-off-by: Stratos Karafotis > --- > drivers/cpufreq/intel_pstate.c | 11 ++++------- > 1 file changed, 4 insertions(+), 7 deletions(-) Acked-by: Viresh Kumar -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/