From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: [PATCH] PM/runtime: Do not needlessly call ktime_get Date: Wed, 16 Jan 2019 12:57:13 +0100 Message-ID: <10417091.Yigb8Rxq05@aspire.rjw.lan> References: <20190110095125.GA4491@lenoch> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Return-path: In-Reply-To: Sender: linux-kernel-owner@vger.kernel.org To: Vincent Guittot , Ladislav Michl Cc: "Rafael J. Wysocki" , Linux PM , Linux Kernel Mailing List , Linux ARM , Linux OMAP Mailing List , Ulf Hansson , Tony Lindgren List-Id: linux-omap@vger.kernel.org On Thursday, January 10, 2019 7:56:19 PM CET Vincent Guittot wrote: > On Thu, 10 Jan 2019 at 10:51, Ladislav Michl wrote: > > > > pm_runtime_autosuspend_expiration calls ktime_get even when > > its returned value may be unused. Therefore get current time > > later and remove gotos while there. > > > > Signed-off-by: Ladislav Michl > > Acked-by: Vincent Guittot Patch applied, thanks!