From: Luciano Coelho Date: Thu, 20 Feb 2014 14:36:21 +0000 (+0200) Subject: cfg80211: remove radar requirements check from cfg80211_can_use_iftype_chan() X-Git-Tag: v3.15-rc1~113^2~159^2^2~131^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b2106aea2638948806df248215b14efd84c5ffc;p=pandora-kernel.git cfg80211: remove radar requirements check from cfg80211_can_use_iftype_chan() We don't have to double check whether the parameters passed to cfg80211_can_use_iftype_chan() are correct. We should just make sure they *are* when we call this function. Remove the radar_detect argument check in cfg80211_can_use_iftype_chan() to simplify the code. Signed-off-by: Luciano Coelho [keep braces around a long comment + single statement] Signed-off-by: Johannes Berg --- Reading git-diff-tree failed