diff options
author | Daeseok Youn <daeseok.youn@gmail.com> | 2016-03-28 13:54:15 +0900 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-03-30 21:06:17 -0700 |
commit | d8bf4bee49728e31b1d225630c39714a6c42648c (patch) | |
tree | 42fbf80c1cd1c4837faa22ae572cb8a1d75b5f88 /tools/perf/scripts/python/syscall-counts.py | |
parent | e078cb2a64fd588557ef2dec573622699a05d642 (diff) |
staging: dgnc: replace dgnc_offset_table with bit shift.
the dgnc_offset_table has a same value with (1 << port).
So I tried to replace dgnc_offset_table array with 1 << port.
And also there are redundant assignments(tmp and current_port)
inside while loop for checking uart port, and remove them.
Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions