提交 aeb8012c 编写于 作者: J Johannes Berg 提交者: Luca Coelho

iwlwifi: mvm: remove pointless num_stored condition

Since we exit if buf->num_stored is 0, there's no need to
check it again later.
Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
Signed-off-by: NLuca Coelho <luciano.coelho@intel.com>
上级 6f2f0194
...@@ -503,7 +503,7 @@ void iwl_mvm_reorder_timer_expired(unsigned long data) ...@@ -503,7 +503,7 @@ void iwl_mvm_reorder_timer_expired(unsigned long data)
buf->sta_id, sn); buf->sta_id, sn);
iwl_mvm_release_frames(buf->mvm, sta, NULL, buf, sn); iwl_mvm_release_frames(buf->mvm, sta, NULL, buf, sn);
rcu_read_unlock(); rcu_read_unlock();
} else if (buf->num_stored) { } else {
/* /*
* If no frame expired and there are stored frames, index is now * If no frame expired and there are stored frames, index is now
* pointing to the first unexpired frame - modify timer * pointing to the first unexpired frame - modify timer
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册