diff options
| author | Gustavo A. R. Silva <[email protected]> | 2017-11-10 16:13:03 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2017-11-27 09:20:40 +0100 |
| commit | d69b9c3884bf9dceab7d971eaab7a89887b60378 (patch) | |
| tree | 3636f9164eb11b773c171aa97ff5f5b3fdcf433f /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | f6829ad6179906da6c2f7fd4ce526f4bb2e03579 (diff) | |
staging: speakup: selection: replace _manual_ swap with swap macro
Make use of the swap macro instead of _manually_ swapping values
and remove unnecessary variable tmp.
This makes the code easier to read and maintain.
This code was detected with the help of Coccinelle.
Signed-off-by: Gustavo A. R. Silva <[email protected]>
Acked-by: Samuel Thibault <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions