tcm_fc: Avoid debug overhead when not debugging
authorMark Rustad <mark.d.rustad@intel.com>
Wed, 1 Aug 2012 21:51:53 +0000 (14:51 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 17 Aug 2012 00:33:46 +0000 (17:33 -0700)
Stop doing a pile of work related to debugging messages when
the ft_debug_logging flag is not set. Use unlikely to add the
check in a way that the check can be inlined without inlining the
whole thing.

Signed-off-by: Mark Rustad <mark.d.rustad@intel.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>

No differences found