diff options
| author | Bart Van Assche <[email protected]> | 2013-08-14 15:33:35 +0000 |
|---|---|---|
| committer | Robert Love <[email protected]> | 2013-09-04 13:02:09 -0700 |
| commit | a84ea8c7e839a73dab4bfc755f7f52e947690dab (patch) | |
| tree | de837cc86761c23c6f21dd42a8164c8503040741 /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
| parent | b20d9bfda77306c2f66a90eb94ef9db58fb1e682 (diff) | |
libfc: Micro-optimize fc_setup_exch_mgr()
Convert a loop into an ilog2() call. Although this code is not performance
sensitive this conversion makes this code easier to read.
Signed-off-by: Bart Van Assche <[email protected]>
Cc: Neil Horman <[email protected]>
Signed-off-by: Robert Love <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions