summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-sql.py
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-10-03 00:45:07 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2018-10-04 20:26:38 +0300
commiteb40a380bff28f84b6583bba6786b46ef26ef548 (patch)
tree4a425d49b40aac7ef3b1d5bb581fde54badfa2cc /tools/perf/scripts/python/call-graph-from-sql.py
parent96c3d11df15323e7f6e55242f7bda610c4bef402 (diff)
downloadlinux-eb40a380bff28f84b6583bba6786b46ef26ef548.tar.xz
cpuidle: menu: Do not update last_state_idx in menu_select()
It is not necessary to update data->last_state_idx in menu_select() as it only is used in menu_update() which only runs when data->needs_update is set and that is set only when updating data->last_state_idx in menu_reflect(). Accordingly, drop the update of data->last_state_idx from menu_select() and get rid of the (now redundant) "out" label from it. No intentional behavior changes. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions