]> err.no Git - linux-2.6/commit
[PATCH] net/wireless/sysfs.c: Shut up build warning
authorSatyam Sharma <satyam@infradead.org>
Sun, 2 Sep 2007 20:11:34 +0000 (01:41 +0530)
committerDavid S. Miller <davem@sunset.davemloft.net>
Wed, 26 Sep 2007 05:55:43 +0000 (22:55 -0700)
commit7b5ee3a038c869e773092834abaa8174e0d77514
treef23a492791b8b5e2b8ede60652e67b6ce7953201
parent4942de4a0e914f205d351a81873f4f63986bcc3c
[PATCH] net/wireless/sysfs.c: Shut up build warning

net/wireless/sysfs.c:108: warning: â€˜wiphy_uevent’ defined but not used

when CONFIG_HOTPLUG=n is because the only usage site of this function
is #ifdef'ed as such, so let's #ifdef the definition also.

Signed-off-by: Satyam Sharma <satyam@infradead.org>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/sysfs.c