Staging: ks7010: ks_*: Removed blank lines before and after braces.
authorShiva Kerdel <shiva@exdev.nl>
Fri, 10 Feb 2017 16:08:14 +0000 (17:08 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 12 Feb 2017 12:26:15 +0000 (13:26 +0100)
Removing unnecessary blank lines around braces to solve CHECKS.

Signed-off-by: Shiva Kerdel <shiva@exdev.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ks7010/ks_hostif.c
drivers/staging/ks7010/ks_wlan.h
drivers/staging/ks7010/ks_wlan_net.c

index 1fbd495..4f430a0 100644 (file)
@@ -729,7 +729,6 @@ void hostif_power_mngmt_confirm(struct ks_wlan_private *priv)
        } else {
                priv->dev_state = DEVICE_STATE_READY;
        }
-
 }
 
 static
@@ -855,7 +854,6 @@ void hostif_scan_indication(struct ks_wlan_private *priv)
                DPRINTK(4, " count over :: scan_ind_count=%d\n",
                        priv->scan_ind_count);
        }
-
 }
 
 static
@@ -902,7 +900,6 @@ void hostif_ps_adhoc_set_confirm(struct ks_wlan_private *priv)
        DPRINTK(3, "\n");
        priv->infra_status = 0; /* infrastructure mode cancel */
        hostif_sme_enqueue(priv, SME_MODE_SET_CONFIRM);
-
 }
 
 static
@@ -1918,7 +1915,6 @@ void hostif_sme_set_wep(struct ks_wlan_private *priv, int type)
                                       sizeof(val), MIB_VALUE_TYPE_BOOL, &val);
                break;
        }
-
 }
 
 struct wpa_suite_t {
@@ -2105,7 +2101,6 @@ void hostif_sme_set_rsn(struct ks_wlan_private *priv, int type)
                hostif_mib_set_request(priv, LOCAL_RSN_MODE, sizeof(rsn_mode),
                                       MIB_VALUE_TYPE_OSTRING, &rsn_mode);
                break;
-
        }
 }
 
@@ -2213,13 +2208,11 @@ void hostif_sme_mode_setup(struct ks_wlan_private *priv)
        default:
                break;
        }
-
 }
 
 static
 void hostif_sme_multicast_set(struct ks_wlan_private *priv)
 {
-
        struct net_device *dev = priv->net_dev;
        int mc_count;
        struct netdev_hw_addr *ha;
@@ -2269,7 +2262,6 @@ void hostif_sme_multicast_set(struct ks_wlan_private *priv)
        }
 
        spin_unlock(&priv->multicast_spin);
-
 }
 
 static
@@ -2313,7 +2305,6 @@ void hostif_sme_powermgt_set(struct ks_wlan_private *priv)
                break;
        }
        hostif_power_mngmt_request(priv, mode, wake_up, receiveDTIMs);
-
 }
 
 static
@@ -2330,7 +2321,6 @@ void hostif_sme_sleep_set(struct ks_wlan_private *priv)
        default:
                break;
        }
-
 }
 
 static
@@ -2641,7 +2631,6 @@ void hostif_sme_enqueue(struct ks_wlan_private *priv, unsigned short event)
        }
 
        tasklet_schedule(&priv->sme_task);
-
 }
 
 int hostif_init(struct ks_wlan_private *priv)
index 279e9b0..c7fa508 100644 (file)
@@ -408,7 +408,6 @@ struct wps_status_t {
 #endif /* WPS */
 
 struct ks_wlan_private {
-
        struct hw_info_t ks_wlan_hw;    /* hardware information */
 
        struct net_device *net_dev;
index 8c55428..c7503a9 100644 (file)
@@ -2095,7 +2095,6 @@ static int ks_wlan_set_pmksa(struct net_device *dev,
 
 static struct iw_statistics *ks_get_wireless_stats(struct net_device *dev)
 {
-
        struct ks_wlan_private *priv =
            (struct ks_wlan_private *)netdev_priv(dev);
        struct iw_statistics *wstats = &priv->wstats;
@@ -2264,7 +2263,6 @@ static int ks_wlan_set_preamble(struct net_device *dev,
 
        priv->need_commit |= SME_MODE_SET;
        return -EINPROGRESS;    /* Call commit handler */
-
 }
 
 /*------------------------------------------------------------------*/
@@ -2933,7 +2931,6 @@ static int ks_wlan_get_eeprom_cksum(struct net_device *dev,
 
 static void print_hif_event(struct net_device *dev, int event)
 {
-
        switch (event) {
        case HIF_DATA_REQ:
                netdev_info(dev, "HIF_DATA_REQ\n");
@@ -3353,7 +3350,6 @@ void send_packet_complete(void *arg1, void *arg2)
                dev_kfree_skb(packet);
                packet = NULL;
        }
-
 }
 
 /* Set or clear the multicast filter for this adaptor.
@@ -3388,7 +3384,6 @@ int ks_wlan_open(struct net_device *dev)
 static
 int ks_wlan_close(struct net_device *dev)
 {
-
        netif_stop_queue(dev);
 
        DPRINTK(4, "%s: Shutting down ethercard, status was 0x%4.4x.\n",