mac80211: remove redundant check in ieee80211_master_start_xmit (net/mac80211/tx.c)
authorRami Rosen <roszenrami@gmail.com>
Thu, 2 Oct 2008 13:48:22 +0000 (16:48 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 6 Oct 2008 22:14:56 +0000 (18:14 -0400)
commitf74b6a5498049bab28419a03e4b31fcdbe7a900d
tree341cd19b3f7e11c8e0119491d6aca3eca25f63c7
parentcf3e74c2e4a438480c11782b17e90029f5d24696
mac80211: remove redundant check in ieee80211_master_start_xmit (net/mac80211/tx.c)

 - This patch (against the linux-wireless-next git tree) removes a
redundant check in ieee80211_master_start_xmit (net/mac80211/tx.c)
and adjust indentation in this method accordingly.

 In this method, there is no need to call again the
ieee80211_is_data() method; this is checked immediately before, in the
"if" command (we will not enter this block unless ieee80211_is_data()
is true, so that the "and" (&&) condition in that "if" command will be
fullfilled ).

Signed-off-by: Rami Rosen <ramirose@gmail.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/tx.c