Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: rtl8188eu: checkpatch.pl warnings removed

Fixed some of the coding style issues reported by checkpatch.pl

Signed-off-by: Faris de Haan <farisdehaan@gmail.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Faris de Haan and committed by
Greg Kroah-Hartman
ecdca554 51f085a3

+3 -4
+3 -4
drivers/staging/rtl8188eu/core/rtw_sta_mgt.c
··· 267 267 268 268 rtw_mfree_sta_priv_lock(pstapriv); 269 269 270 - if (pstapriv->pallocated_stainfo_buf) { 270 + if (pstapriv->pallocated_stainfo_buf) 271 271 rtw_vmfree(pstapriv->pallocated_stainfo_buf, sizeof(struct sta_info)*NUM_STA+4); 272 - } 273 272 } 274 273 275 274 _func_exit_; ··· 314 315 315 316 rtw_list_insert_tail(&psta->hash_list, phash_list); 316 317 317 - pstapriv->asoc_sta_count++ ; 318 + pstapriv->asoc_sta_count++; 318 319 319 320 _exit_critical_bh(&(pstapriv->sta_hash_lock), &irql2); 320 321 ··· 418 419 _cancel_timer_ex(&psta->addba_retry_timer); 419 420 420 421 /* for A-MPDU Rx reordering buffer control, cancel reordering_ctrl_timer */ 421 - for (i = 0; i < 16 ; i++) { 422 + for (i = 0; i < 16; i++) { 422 423 unsigned long irql; 423 424 struct list_head *phead, *plist; 424 425 union recv_frame *prframe;