Message ID | 916d5b003247958845d5585757a6a51316bc783c.1397741141.git.gamerh2o@gmail.com (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/include/net/cfg80211.h b/include/net/cfg80211.h index f3539a1..ace298f 100644 --- a/include/net/cfg80211.h +++ b/include/net/cfg80211.h @@ -4702,10 +4702,6 @@ unsigned int ieee80211_get_num_supported_channels(struct wiphy *wiphy); dev_notice(&(wiphy)->dev, format, ##args) #define wiphy_info(wiphy, format, args...) \ dev_info(&(wiphy)->dev, format, ##args) - -#define wiphy_debug(wiphy, format, args...) \ - wiphy_printk(KERN_DEBUG, wiphy, format, ##args) - #define wiphy_dbg(wiphy, format, args...) \ dev_dbg(&(wiphy)->dev, format, ##args)
Dynamic debug function wiphy_dbg() is more convenient for debugging, and if user doesn't enable CONFIG_DYNAMIC_DEBUG, it will fall back to normal static debug, just as what wiphy_debug() does. All the uses of wiphy_debug() are replaced with wiphy_dbg(), so wiphy_debug() can be removed. Cc: Johannes Berg <johannes@sipsolutions.net> Signed-off-by: Zhao, Gang <gamerh2o@gmail.com> --- include/net/cfg80211.h | 4 ---- 1 file changed, 4 deletions(-)