iwlwifi: Remove unnecessary code
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>
This commit is contained in:
parent
4977929304
commit
e58942a2ed
1 changed files with 0 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue