diff options
| author | Sergio Paracuellos <[email protected]> | 2018-04-24 15:49:50 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2018-04-25 15:50:18 +0200 |
| commit | 0ff7968d6a8d8293968e1be55a458f9d34a6dff4 (patch) | |
| tree | 1bde8379221d49718ab0b0e47ff61a6bb855138f /tools/perf/scripts/python/syscall-counts.py | |
| parent | 5dfd0cfeeee5440b242b2c8578fc41a09aa26430 (diff) | |
staging: ks7010: avoid some if-else code in get_current_ap function
This commits avoid some if-else code extracting common code before
its use and making use of a new variable 'size' which is assigned
using a ternary operator. This improves readability.
Signed-off-by: Sergio Paracuellos <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions