From: Emmanuel Grumbach Date: Tue, 14 Jan 2014 08:33:54 +0000 (+0200) Subject: iwlwifi: pcie: fix unused variable gcc warning X-Git-Tag: v3.15-rc1~113^2~289^2^2~102^2~56 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46e81af97281fead13612f501798c942dd781e5b;p=pandora-kernel.git iwlwifi: pcie: fix unused variable gcc warning In iwl_pcie_int_cause_non_ict, trans_pcie is used for lockdep purposes only. Since this might not be enabled, trans_pcie finds itself without user leading to a complaint from gcc. Avoid using trans_pcie by inlining IWL_TRANS_GET_PCIE_TRANS. Reviewed-by: Johannes Berg Signed-off-by: Emmanuel Grumbach --- Reading git-diff-tree failed