commit | 51cd53ad120f33410c48fd0d696e6f6255c8e780 | [log] [tgz] |
---|---|---|
author | Johannes Berg <johannes.berg@intel.com> | Wed Jun 12 09:56:51 2013 +0200 |
committer | Johannes Berg <johannes.berg@intel.com> | Thu Jun 13 12:05:50 2013 +0200 |
tree | 9271622e696002e527d77f1460ec3da402596ed4 | |
parent | 12dcf2c3325a8aa25e8634b7e8337aad6f9be9b7 [diff] |
iwlwifi: reduce debug ifdefs using the optimiser Instead of using #ifdef CONFIG_IWLWIFI_DEBUG, remove the iwlwifi_mod_params.debug_level variable completely and make iwl_have_debug_level() always return false in the non-debug case. This way, the optimiser will elide all code for it automatically without having to add #ifdefs. Reviewed-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>