From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] PM/runtime: Do not needlessly call ktime_get Date: Thu, 10 Jan 2019 08:44:54 -0800 Message-ID: <20190110164454.GB5544@atomide.com> References: <20190110095125.GA4491@lenoch> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20190110095125.GA4491@lenoch> Sender: linux-kernel-owner@vger.kernel.org To: Ladislav Michl Cc: "Rafael J. Wysocki" , Linux PM , Linux Kernel Mailing List , Linux ARM , Linux OMAP Mailing List , "Rafael J. Wysocki" , Ulf Hansson , Vincent Guittot List-Id: linux-pm@vger.kernel.org * Ladislav Michl [190110 09:51]: > 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. Acked-by: Tony Lindgren