diff options
author | Bart Van Assche <bvanassche@acm.org> | 2013-08-14 15:33:35 +0000 |
---|---|---|
committer | Robert Love <robert.w.love@intel.com> | 2013-09-04 13:02:09 -0700 |
commit | a84ea8c7e839a73dab4bfc755f7f52e947690dab (patch) | |
tree | de837cc86761c23c6f21dd42a8164c8503040741 /firmware/e100 | |
parent | b20d9bfda77306c2f66a90eb94ef9db58fb1e682 (diff) | |
download | talos-op-linux-a84ea8c7e839a73dab4bfc755f7f52e947690dab.tar.gz talos-op-linux-a84ea8c7e839a73dab4bfc755f7f52e947690dab.zip |
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 <bvanassche@acm.org>
Cc: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Diffstat (limited to 'firmware/e100')
0 files changed, 0 insertions, 0 deletions