mac80211: Remove superfluous if clause
authorHelmut Schaa <helmut.schaa@googlemail.com>
Sat, 12 Feb 2011 13:17:15 +0000 (14:17 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 14 Feb 2011 20:51:20 +0000 (15:51 -0500)
commit0c2530cec5672f38f8ab834ee53d17175d3bca95
tree1c035db946d3114273c5f5b555d119dfc49899a4
parent014cf3bb1e19a61c53666d7f990f584f1b7af364
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>
net/mac80211/rx.c