From: Luis R. Rodriguez Date: Wed, 12 Nov 2008 22:21:56 +0000 (-0800) Subject: cfg80211: remove switch from __regulatory_hint() X-Git-Tag: v2.6.29-rc1~581^2~383^2~75 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5203cdb6ad430d3313444ddc6486da70af1a60db;p=pandora-kernel.git cfg80211: remove switch from __regulatory_hint() We have complete control over REGDOM_SET_BY_* enum passed down to __regulatory_hint() as such there is no need to account for unexpected REGDOM_SET_BY_*'s, lets just remove the switch statement as this code does not change and won't change even when we add 802.11d support. This patch has no functional changes. Signed-off-by: Luis R. Rodriguez Acked-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed