staging: rtl8188eu: cleanup spacing style
authorRobert Eshleman <bobbyeshleman@gmail.com>
Wed, 6 Mar 2019 15:31:41 +0000 (07:31 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2019 06:05:21 +0000 (07:05 +0100)
This patch fixes a few spacing warnings from checkpatch.pl,
as well as an incorrect spacing between a function type and
the function name.

Signed-off-by: Robert Eshleman <bobbyeshleman@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_ap.c

index 94c9d9f8ee5c65221355349f5c08678550b44db1..fc500da2d71f68a36b00489d229b8a6232520a9e 100644 (file)
@@ -68,7 +68,7 @@ static void update_BCNTIM(struct adapter *padapter)
 
        /* update TIM IE */
        p = rtw_get_ie(pie + _FIXED_IE_LENGTH_, _TIM_IE_, &tim_ielen,
-                       pnetwork_mlmeext->ie_length - _FIXED_IE_LENGTH_);
+                      pnetwork_mlmeext->ie_length - _FIXED_IE_LENGTH_);
        if (p && tim_ielen > 0) {
                tim_ielen += 2;
                premainder_ie = p + tim_ielen;
@@ -89,7 +89,7 @@ static void update_BCNTIM(struct adapter *padapter)
                               &tmp_len, (pnetwork_mlmeext->ie_length -
                                          _BEACON_IE_OFFSET_));
                if (p)
-                       offset += tmp_len+2;
+                       offset += tmp_len + 2;
 
                /* DS Parameter Set IE, len = 3 */
                offset += 3;
@@ -162,7 +162,7 @@ static u8 chk_sta_is_alive(struct sta_info *psta)
        return ret;
 }
 
-void   expire_timeout_chk(struct adapter *padapter)
+void expire_timeout_chk(struct adapter *padapter)
 {
        struct list_head *phead, *plist;
        u8 updated = 0;