Skip to content
Commit 7b5ee3a0 authored by Satyam Sharma's avatar Satyam Sharma Committed by David S. Miller
Browse files

[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: default avatarSatyam Sharma <satyam@infradead.org>
Acked-by: default avatarJohannes Berg <johannes@sipsolutions.net>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 4942de4a
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment