From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751434AbbL1DQ7 (ORCPT ); Sun, 27 Dec 2015 22:16:59 -0500 Received: from mail-pa0-f42.google.com ([209.85.220.42]:33140 "EHLO mail-pa0-f42.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750894AbbL1DQw (ORCPT ); Sun, 27 Dec 2015 22:16:52 -0500 Date: Mon, 28 Dec 2015 08:46:48 +0530 From: Viresh Kumar To: "Rafael J. Wysocki" Cc: Linux PM list , Linux Kernel Mailing List , Srinivas Pandruvada Subject: Re: [PATCH 1/3] cpufreq: Make cpufreq_boost_supported() static Message-ID: <20151228031648.GE3598@ubuntu> References: <2196419.fjWAQbI2Nm@vostro.rjw.lan> <7055444.k3FMydYOLT@vostro.rjw.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7055444.k3FMydYOLT@vostro.rjw.lan> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 27-12-15, 00:23, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > cpufreq_boost_supported() is not used outside of cpufreq.c, so make > it static. > > While at it, refactor it as a one-liner (which it really is). > > Signed-off-by: Rafael J. Wysocki > --- > drivers/cpufreq/cpufreq.c | 8 ++------ > include/linux/cpufreq.h | 5 ----- > 2 files changed, 2 insertions(+), 11 deletions(-) Acked-by: Viresh Kumar -- viresh