regulatory: don't test list before iterating
authorJohannes Berg <johannes.berg@intel.com>
Mon, 3 Dec 2012 16:32:01 +0000 (17:32 +0100)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 3 Jan 2013 12:01:21 +0000 (13:01 +0100)
commitfea9bcedce2d0c751d4f31155f4634689d46166e
tree92d842c278f0a5aad703d977fdd6f5b471e0f6e2
parente9763c3c295a8b31316e16558b58b226e005b160
regulatory: don't test list before iterating

There's no need to test whether a list is
empty or not before iterating.

Acked-by: Luis R. Rodriguez <mcgrof@do-not-panic.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/wireless/reg.c