summaryrefslogtreecommitdiffstats
path: root/include/linux/rmap.h
diff options
context:
space:
mode:
authorHelmut Schaa <helmut.schaa@googlemail.com>2011-02-12 14:17:15 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-02-14 15:51:20 -0500
commit0c2530cec5672f38f8ab834ee53d17175d3bca95 (patch)
tree1c035db946d3114273c5f5b555d119dfc49899a4 /include/linux/rmap.h
parent014cf3bb1e19a61c53666d7f990f584f1b7af364 (diff)
downloadop-kernel-dev-0c2530cec5672f38f8ab834ee53d17175d3bca95.zip
op-kernel-dev-0c2530cec5672f38f8ab834ee53d17175d3bca95.tar.gz
mac80211: Remove superfluous if clause
ieee80211_rx_h_check returned RX_DROP_MONITOR in case the if statement in question was true but the same return value is also used directly after the if clause. Hence, we can just drop the whole if clause and as such simplify the code. Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/rmap.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud