]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6cb03db80d853fb0cd0699c02b85e780afd77a98
tree92d842c278f0a5aad703d977fdd6f5b471e0f6e2
parent829613f58e74331a1a83a6ca746ec9b77d3dd19d
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