From: Vincent Zweije Date: Tue, 7 Jun 2011 14:37:09 +0000 (+0200) Subject: networking: fix warning about unused label wake_up X-Git-Tag: v3.1-rc1~316^2~350^2^2~116 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43a1c2721acd792aea370ee68ef054e18c944373;p=pandora-kernel.git networking: fix warning about unused label wake_up Function ieee80211_reconfig in net/mac80211/util.c contains label wake_up which is defined unconditionally, but only used with CONFIG_PM. Gcc warns about this when CONFIG_PM is not defined. This patch makes the label's definition dependent on CONFIG_PM too, eliminating the warning. The issue was apparently introduced in git commit eecc48000afe2ca6da22122d553b7cad294e42fc. Signed-off-by: Vincent Zweije Signed-off-by: John W. Linville --- Reading git-diff-tree failed