aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorLadislav Michl <[email protected]>2019-01-30 22:40:17 +0100
committerRafael J. Wysocki <[email protected]>2019-02-01 11:57:05 +0100
commitf800ea320c09fbc8bf15aecd5c05e8e6b27ae64e (patch)
tree27891d5eb9995a815dea208c6f7ea9e3d6501bde /lib/memory-notifier-error-inject.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 <[email protected]> Acked-by: Tony Lindgren <[email protected]> Acked-by: Vincent Guittot <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions