diff options
| author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-11-10 16:13:03 -0600 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-27 09:20:40 +0100 |
| commit | d69b9c3884bf9dceab7d971eaab7a89887b60378 (patch) | |
| tree | 3636f9164eb11b773c171aa97ff5f5b3fdcf433f /tools/perf/scripts/python/bin | |
| parent | f6829ad6179906da6c2f7fd4ce526f4bb2e03579 (diff) | |
| download | linux-d69b9c3884bf9dceab7d971eaab7a89887b60378.tar.gz linux-d69b9c3884bf9dceab7d971eaab7a89887b60378.zip | |
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 <garsilva@embeddedor.com>
Acked-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
