staging: rtl8188eu: cleanup lines over 80 characters
authorMichael Straube <straube.linux@gmail.com>
Fri, 23 Nov 2018 20:41:06 +0000 (21:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 26 Nov 2018 19:59:05 +0000 (20:59 +0100)
Cleanup lines over 80 characters by replacing tabs with spaces
or adding appropriate line breaks.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_mlme.c

index b048a3b633a915703b7bb92cf2cb4c98bda957ee..714f7a70ed64f8d8e0b9ff5e5777883a3f0e544e 100644 (file)
@@ -324,7 +324,7 @@ int is_same_network(struct wlan_bssid_ex *src, struct wlan_bssid_ex *dst)
                (d_cap & WLAN_CAPABILITY_ESS)));
 }
 
-struct wlan_network    *rtw_get_oldest_wlan_network(struct __queue *scanned_queue)
+struct wlan_network *rtw_get_oldest_wlan_network(struct __queue *scanned_queue)
 {
        struct list_head *plist, *phead;
        struct wlan_network *pwlan = NULL;
@@ -413,7 +413,7 @@ void rtw_update_scanned_network(struct adapter *adapter, struct wlan_bssid_ex *t
        plist = phead->next;
 
        while (phead != plist) {
-               pnetwork        = container_of(plist, struct wlan_network, list);
+               pnetwork = container_of(plist, struct wlan_network, list);
 
                if (is_same_network(&pnetwork->network, target))
                        break;
@@ -451,7 +451,8 @@ void rtw_update_scanned_network(struct adapter *adapter, struct wlan_bssid_ex *t
                        pnetwork = rtw_alloc_network(pmlmepriv); /*  will update scan_time */
 
                        if (!pnetwork) {
-                               RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_, ("\n\n\nsomething wrong here\n\n\n"));
+                               RT_TRACE(_module_rtl871x_mlme_c_, _drv_err_,
+                                        ("\n\n\nsomething wrong here\n\n\n"));
                                goto exit;
                        }
 
@@ -469,9 +470,9 @@ void rtw_update_scanned_network(struct adapter *adapter, struct wlan_bssid_ex *t
                        list_add_tail(&pnetwork->list, &queue->queue);
                }
        } else {
-               /* we have an entry and we are going to update it. But this entry may
-                * be already expired. In this case we do the same as we found a new
-                * net and call the new_net handler
+               /* we have an entry and we are going to update it. But this
+                * entry may be already expired. In this case we do the same
+                * as we found a new net and call the new_net handler
                 */
                bool update_ie = true;