aboutsummaryrefslogtreecommitdiff
path: root/net/switchdev/switchdev.c
diff options
context:
space:
mode:
authorLadislav Michl <ladis@linux-mips.org>2019-01-30 22:40:17 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-02-01 11:57:05 +0100
commitf800ea320c09fbc8bf15aecd5c05e8e6b27ae64e (patch)
tree27891d5eb9995a815dea208c6f7ea9e3d6501bde /net/switchdev/switchdev.c
parent1cc9c59569e0ec69e9beadfe6ba8b2b7b22d57f0 (diff)
PM-runtime: Optimize pm_runtime_autosuspend_expiration()
pm_runtime_autosuspend_expiration calls ktime_get_mono_fast_ns() even when its returned value may be unused. Therefore get the current time later and remove gotos while there. Signed-off-by: Ladislav Michl <ladis@linux-mips.org> Acked-by: Tony Lindgren <tony@atomide.com> Acked-by: Vincent Guittot <vincent.guittot@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions