summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGustavo A. R. Silva <garsilva@embeddedor.com>2017-11-11 01:05:45 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-11-28 17:32:32 +0300
commitdf3d9a5b771fa40689bbbdf54bd575d2817fe028 (patch)
treef8a81a35fb2a8f048ef73bbc0f4a5c0e048158d4 /tools/perf/scripts/python/export-to-postgresql.py
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 (diff)
downloadlinux-df3d9a5b771fa40689bbbdf54bd575d2817fe028.tar.xz
tty: vt: replace _manual_ swap with swap macro in set_selection
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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions