]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
iwlwifi: Remove unnecessary code
authorAbhijeet Kolekar <abhijeet.kolekar@intel.com>
Mon, 30 Jun 2008 09:23:22 +0000 (17:23 +0800)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 30 Jun 2008 21:37:43 +0000 (17:37 -0400)
Removed unnecessary goto.

Signed-off-by: Abhijeet Kolekar <abhijeet.kolekar@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/iwlwifi/iwl-4965-rs.c

index c2f21d79dfc20760fa0c02e4557b35972df4927e..c7ebb3bf06f5fd50cdc9e8415583e01cbb78f6f7 100644 (file)
@@ -2133,11 +2133,8 @@ static void rs_get_rate(void *priv_rate, struct net_device *dev,
                        lq_sta->ibss_sta_added = 1;
                        rs_initialize_lq(priv, conf, sta);
                }
-               if (!lq_sta->ibss_sta_added)
-                       goto done;
        }
 
-done:
        if ((i < 0) || (i > IWL_RATE_COUNT)) {
                sel->rate_idx = rate_lowest_index(local, sband, sta);
                goto out;