diff options
| author | 2017-11-10 16:13:03 -0600 | |
|---|---|---|
| committer | 2017-11-27 09:20:40 +0100 | |
| commit | d69b9c3884bf9dceab7d971eaab7a89887b60378 (patch) | |
| tree | 3636f9164eb11b773c171aa97ff5f5b3fdcf433f /tools/perf/scripts | |
| parent | staging: rtlwifi: rtlwifi: use ktime_get_real_seconds() for suspend time (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 <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')
0 files changed, 0 insertions, 0 deletions
