]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: mesh_plink: collapse the two switch statements together
authorBob Copeland <me@bobcopeland.com>
Tue, 5 Nov 2013 19:16:55 +0000 (11:16 -0800)
committerJohannes Berg <johannes.berg@intel.com>
Mon, 25 Nov 2013 19:50:05 +0000 (20:50 +0100)
commitf74897fb72d01d70c6bc784d1ebe03c85e0fe9e8
treeed896dd6db7f37aec02374b3280b6ca7c93bb206
parente8098614278de1d3e20fde4cec44caeff5baf5ff
mac80211: mesh_plink: collapse the two switch statements together

The matches_local check can just be done when looking at the
individual action types.

Signed-off-by: Bob Copeland <bob@cozybit.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/mesh_plink.c