From: Rami Rosen Date: Thu, 2 Oct 2008 13:48:22 +0000 (+0300) Subject: mac80211: remove redundant check in ieee80211_master_start_xmit (net/mac80211/tx.c) X-Git-Tag: v2.6.28-rc1~717^2~110^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f74b6a5498049bab28419a03e4b31fcdbe7a900d;p=pandora-kernel.git 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 Acked-by: Johannes Berg Signed-off-by: John W. Linville --- Reading git-diff-tree failed