iwlwifi: suppress unused variable warning when compiling w/o IWLWIFI_DEBUG
authorWinkler, Tomas <tomas.winkler@intel.com>
Tue, 27 Jan 2009 22:27:53 +0000 (14:27 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 9 Feb 2009 20:03:33 +0000 (15:03 -0500)
commit7530f85f086a5d58a5e43b1a98993801fe509c51
tree25681cf041683dc30f36e6276e2eaf381159adc4
parent8ccde88a87a3dc906234b281a036fee9c7371949
iwlwifi: suppress unused variable warning when compiling w/o IWLWIFI_DEBUG

This patch adds __maybe_unused attribute to priv variables used in
functions that used it solely for debug printouts

Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Cc: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-3945-rs.c
drivers/net/wireless/iwlwifi/iwl3945-base.c