staging: rtl8192u: ieee80211: add space around '==' and before '('
authorCaio Salvador Rohwedder <caiosalvador96@gmail.com>
Fri, 5 Apr 2019 01:56:46 +0000 (22:56 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Apr 2019 11:31:58 +0000 (13:31 +0200)
Fix checkpatch coding style errors on rtl819x_TSProc.c
- space required before the open parenthesis '('
- spaces required around that '=='

Signed-off-by: Caio Salvador Rohwedder <caiosalvador96@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/ieee80211/rtl819x_TSProc.c

index 4bb6c32..418c924 100644 (file)
@@ -373,7 +373,7 @@ bool GetTs(
                        if(!list_empty(pUnusedList)) {
                                (*ppTS) = list_entry(pUnusedList->next, struct ts_common_info, list);
                                list_del_init(&(*ppTS)->list);
-                               if(TxRxSelect==TX_DIR) {
+                               if (TxRxSelect == TX_DIR) {
                                        struct tx_ts_record *tmp = container_of(*ppTS, struct tx_ts_record, ts_common_info);
                                        ResetTxTsEntry(tmp);
                                } else {