Re: [PATCH -mm] net/wireless/sysfs.c: Shut up build warning

2007-09-02 Thread Johannes Berg
On Mon, 2007-09-03 at 01:41 +0530, Satyam Sharma wrote: > 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

[PATCH -mm] net/wireless/sysfs.c: Shut up build warning

2007-09-02 Thread Satyam Sharma
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 <[EMAIL PROTECTED]> --- net/wireless/sysfs.c |2 ++ 1 file c