On Wed, 2013-11-20 at 10:41 +0100, Janusz Dziedzic wrote: > +enum nl80211_dfs_regions reg_get_dfs_region(struct wiphy *wiphy) > +{ > + const struct ieee80211_regdomain *regd = NULL; > + const struct ieee80211_regdomain *wiphy_regd = NULL; > + > + ASSERT_RTNL(); That seems pointless, both get_cfg80211_regdom() and get_wiphy_regdom() will already check (if lockdep is enabled) johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html