commit | a84ea8c7e839a73dab4bfc755f7f52e947690dab | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bvanassche@acm.org> | Wed Aug 14 15:33:35 2013 +0000 |
committer | Robert Love <robert.w.love@intel.com> | Wed Sep 04 13:02:09 2013 -0700 |
tree | de837cc86761c23c6f21dd42a8164c8503040741 | |
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 <bvanassche@acm.org> Cc: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Robert Love <robert.w.love@intel.com>