提交 ecdca554 编写于 作者: F Faris de Haan 提交者: Greg Kroah-Hartman

Staging: rtl8188eu: checkpatch.pl warnings removed

Fixed some of the coding style issues reported by checkpatch.pl
Signed-off-by: NFaris de Haan <farisdehaan@gmail.com>
Acked-by: NLarry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 51f085a3
...@@ -267,10 +267,9 @@ _func_enter_; ...@@ -267,10 +267,9 @@ _func_enter_;
rtw_mfree_sta_priv_lock(pstapriv); rtw_mfree_sta_priv_lock(pstapriv);
if (pstapriv->pallocated_stainfo_buf) { if (pstapriv->pallocated_stainfo_buf)
rtw_vmfree(pstapriv->pallocated_stainfo_buf, sizeof(struct sta_info)*NUM_STA+4); rtw_vmfree(pstapriv->pallocated_stainfo_buf, sizeof(struct sta_info)*NUM_STA+4);
} }
}
_func_exit_; _func_exit_;
return _SUCCESS; return _SUCCESS;
...@@ -315,7 +314,7 @@ _func_enter_; ...@@ -315,7 +314,7 @@ _func_enter_;
rtw_list_insert_tail(&psta->hash_list, phash_list); rtw_list_insert_tail(&psta->hash_list, phash_list);
pstapriv->asoc_sta_count++ ; pstapriv->asoc_sta_count++;
_exit_critical_bh(&(pstapriv->sta_hash_lock), &irql2); _exit_critical_bh(&(pstapriv->sta_hash_lock), &irql2);
...@@ -419,7 +418,7 @@ _func_enter_; ...@@ -419,7 +418,7 @@ _func_enter_;
_cancel_timer_ex(&psta->addba_retry_timer); _cancel_timer_ex(&psta->addba_retry_timer);
/* for A-MPDU Rx reordering buffer control, cancel reordering_ctrl_timer */ /* for A-MPDU Rx reordering buffer control, cancel reordering_ctrl_timer */
for (i = 0; i < 16 ; i++) { for (i = 0; i < 16; i++) {
unsigned long irql; unsigned long irql;
struct list_head *phead, *plist; struct list_head *phead, *plist;
union recv_frame *prframe; union recv_frame *prframe;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册