diff options
author | Arjan van de Ven <arjan@linux.intel.com> | 2023-06-05 18:47:14 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-06-12 21:07:22 +0300 |
commit | 7826c069c8765969cfb7a364f8e0e663fc132b10 (patch) | |
tree | d9d7ed4941f4e6f0f3799815e95356db9bb46ff1 /scripts/gdb/linux/utils.py | |
parent | 4622ba923e55e12cb76081c8865b01fcb383a9d8 (diff) | |
download | linux-7826c069c8765969cfb7a364f8e0e663fc132b10.tar.xz |
intel_idle: clean up the (new) state_update_enter_method function
Now that the logic for state_update_enter_method() is in its own
function, the long if .. else if .. else if .. else if chain
can be simplified by just returning from the function
at the various places. This does not change functionality,
but it makes the logic much simpler to read or modify later.
Signed-off-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions