diff options
| author | Deepak R Varma <[email protected]> | 2020-03-16 05:12:08 +0530 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-03-17 12:47:24 +0100 |
| commit | f19234ca8b0af61caf999272862337938a270888 (patch) | |
| tree | cf18bc56df357012c59951f328648fa0510b1e8d /tools/perf/scripts/python/futex-contention.py | |
| parent | b32d2fb2bee1cc69c0df337f3124cea3352226b9 (diff) | |
staging: fbtft: simplify array index computation
An array index is being computed by mathematical calculation on the
Lvalue side of the expression. This also further results in the statement
exceeding 80 character statement length.
A local variable can store the value of the array index computation. The
variable can then be used as array index. This improves readability of
the code and also address 80 character warning raised by checkpatch.
Signed-off-by: Deepak R Varma <[email protected]>
Link: https://lore.kernel.org/r/4bf407e1b3e05745f767b2bad6218c9fb836d869.1584314604.git.mh12gx2825@gmail.com
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions