From: Rami Rosen Date: Tue, 7 Oct 2008 07:50:01 +0000 (+0200) Subject: iwlwifi: fix compilation warning when CONFIG_IWLWIFI_DEBUG is not set. X-Git-Tag: v2.6.28-rc1~292^2~3^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45527c2c4f698f8927239cfdec9f515cafed5f10;p=pandora-kernel.git iwlwifi: fix compilation warning when CONFIG_IWLWIFI_DEBUG is not set. When CONFIG_IWLWIFI_DEBUG is not set and CONFIG_IWLWIFI is set, we get this compilation warning: /wireless-next-2.6/drivers/net/wireless/iwlwifi/iwl-agn-rs.c: In function 'rs_free_sta': /wireless-next-2.6/drivers/net/wireless/iwlwifi/iwl-agn-rs.c:2425: warning: unused variable 'priv' This patch fixes it by adding __maybe_unused attribute. Signed-off-by: Rami Rosen Signed-off-by: John W. Linville --- Reading git-diff-tree failed