aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2019-10-26 14:11:33 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-26 20:45:48 +0200
commitdd85035172d081e7dc98d03331340e911c44a832 (patch)
tree3f82c40cdef277d020583daa6728fa8cdb77c528 /tools/perf/scripts/python/event_analyzing_sample.py
parentstaging: rtl8188eu: convert rtw_access_ctrl to return bool (diff)
downloadlinux-dd85035172d081e7dc98d03331340e911c44a832.tar.gz
linux-dd85035172d081e7dc98d03331340e911c44a832.zip
staging: rtl8188eu: remove ternary operator
Instead of using ternary operator to set variable res, use the value of variable match (or the negation) directly to simplify the code and improve readability. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20191026121135.181897-5-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions