]> git.baikalelectronics.ru Git - kernel.git/commit
mac80211: simplify code in ieee80211_prepare_and_rx_handle
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Tue, 7 Jan 2014 11:10:20 +0000 (13:10 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Tue, 7 Jan 2014 15:22:15 +0000 (16:22 +0100)
commit660ad494aa24babc1c7e0105ea9a1adb0a114ef2
tree640f612b5ca89e7cb71664935592936327a3b468
parentee6e763d4cd6ef926e8983b9e11bed8d5b88032c
mac80211: simplify code in ieee80211_prepare_and_rx_handle

No need to assign the return value of prepare_for_handlers
to a variable if the only usage is to test it.

Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
net/mac80211/rx.c