From: Johannes Berg Date: Wed, 12 Jun 2013 07:56:51 +0000 (+0200) Subject: iwlwifi: reduce debug ifdefs using the optimiser X-Git-Tag: v3.11-rc1~64^2~166^2^2~38^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51cd53ad120f33410c48fd0d696e6f6255c8e780;p=pandora-kernel.git 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 Signed-off-by: Johannes Berg --- Reading git-diff-tree failed