Commit fac103e0 authored by Shiva Kerdel's avatar Shiva Kerdel Committed by Greg Kroah-Hartman

Staging: ks7010: ks_*: Removed blank lines before and after braces.

Removing unnecessary blank lines around braces to solve CHECKS.
Signed-off-by: default avatarShiva Kerdel <shiva@exdev.nl>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 8a0e4b9e
...@@ -729,7 +729,6 @@ void hostif_power_mngmt_confirm(struct ks_wlan_private *priv) ...@@ -729,7 +729,6 @@ void hostif_power_mngmt_confirm(struct ks_wlan_private *priv)
} else { } else {
priv->dev_state = DEVICE_STATE_READY; priv->dev_state = DEVICE_STATE_READY;
} }
} }
static static
...@@ -855,7 +854,6 @@ void hostif_scan_indication(struct ks_wlan_private *priv) ...@@ -855,7 +854,6 @@ void hostif_scan_indication(struct ks_wlan_private *priv)
DPRINTK(4, " count over :: scan_ind_count=%d\n", DPRINTK(4, " count over :: scan_ind_count=%d\n",
priv->scan_ind_count); priv->scan_ind_count);
} }
} }
static static
...@@ -902,7 +900,6 @@ void hostif_ps_adhoc_set_confirm(struct ks_wlan_private *priv) ...@@ -902,7 +900,6 @@ void hostif_ps_adhoc_set_confirm(struct ks_wlan_private *priv)
DPRINTK(3, "\n"); DPRINTK(3, "\n");
priv->infra_status = 0; /* infrastructure mode cancel */ priv->infra_status = 0; /* infrastructure mode cancel */
hostif_sme_enqueue(priv, SME_MODE_SET_CONFIRM); hostif_sme_enqueue(priv, SME_MODE_SET_CONFIRM);
} }
static static
...@@ -1918,7 +1915,6 @@ void hostif_sme_set_wep(struct ks_wlan_private *priv, int type) ...@@ -1918,7 +1915,6 @@ void hostif_sme_set_wep(struct ks_wlan_private *priv, int type)
sizeof(val), MIB_VALUE_TYPE_BOOL, &val); sizeof(val), MIB_VALUE_TYPE_BOOL, &val);
break; break;
} }
} }
struct wpa_suite_t { struct wpa_suite_t {
...@@ -2105,7 +2101,6 @@ void hostif_sme_set_rsn(struct ks_wlan_private *priv, int type) ...@@ -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), hostif_mib_set_request(priv, LOCAL_RSN_MODE, sizeof(rsn_mode),
MIB_VALUE_TYPE_OSTRING, &rsn_mode); MIB_VALUE_TYPE_OSTRING, &rsn_mode);
break; break;
} }
} }
...@@ -2213,13 +2208,11 @@ void hostif_sme_mode_setup(struct ks_wlan_private *priv) ...@@ -2213,13 +2208,11 @@ void hostif_sme_mode_setup(struct ks_wlan_private *priv)
default: default:
break; break;
} }
} }
static static
void hostif_sme_multicast_set(struct ks_wlan_private *priv) void hostif_sme_multicast_set(struct ks_wlan_private *priv)
{ {
struct net_device *dev = priv->net_dev; struct net_device *dev = priv->net_dev;
int mc_count; int mc_count;
struct netdev_hw_addr *ha; struct netdev_hw_addr *ha;
...@@ -2269,7 +2262,6 @@ void hostif_sme_multicast_set(struct ks_wlan_private *priv) ...@@ -2269,7 +2262,6 @@ void hostif_sme_multicast_set(struct ks_wlan_private *priv)
} }
spin_unlock(&priv->multicast_spin); spin_unlock(&priv->multicast_spin);
} }
static static
...@@ -2313,7 +2305,6 @@ void hostif_sme_powermgt_set(struct ks_wlan_private *priv) ...@@ -2313,7 +2305,6 @@ void hostif_sme_powermgt_set(struct ks_wlan_private *priv)
break; break;
} }
hostif_power_mngmt_request(priv, mode, wake_up, receiveDTIMs); hostif_power_mngmt_request(priv, mode, wake_up, receiveDTIMs);
} }
static static
...@@ -2330,7 +2321,6 @@ void hostif_sme_sleep_set(struct ks_wlan_private *priv) ...@@ -2330,7 +2321,6 @@ void hostif_sme_sleep_set(struct ks_wlan_private *priv)
default: default:
break; break;
} }
} }
static static
...@@ -2641,7 +2631,6 @@ void hostif_sme_enqueue(struct ks_wlan_private *priv, unsigned short event) ...@@ -2641,7 +2631,6 @@ void hostif_sme_enqueue(struct ks_wlan_private *priv, unsigned short event)
} }
tasklet_schedule(&priv->sme_task); tasklet_schedule(&priv->sme_task);
} }
int hostif_init(struct ks_wlan_private *priv) int hostif_init(struct ks_wlan_private *priv)
......
...@@ -408,7 +408,6 @@ struct wps_status_t { ...@@ -408,7 +408,6 @@ struct wps_status_t {
#endif /* WPS */ #endif /* WPS */
struct ks_wlan_private { struct ks_wlan_private {
struct hw_info_t ks_wlan_hw; /* hardware information */ struct hw_info_t ks_wlan_hw; /* hardware information */
struct net_device *net_dev; struct net_device *net_dev;
......
...@@ -2095,7 +2095,6 @@ static int ks_wlan_set_pmksa(struct net_device *dev, ...@@ -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) static struct iw_statistics *ks_get_wireless_stats(struct net_device *dev)
{ {
struct ks_wlan_private *priv = struct ks_wlan_private *priv =
(struct ks_wlan_private *)netdev_priv(dev); (struct ks_wlan_private *)netdev_priv(dev);
struct iw_statistics *wstats = &priv->wstats; struct iw_statistics *wstats = &priv->wstats;
...@@ -2264,7 +2263,6 @@ static int ks_wlan_set_preamble(struct net_device *dev, ...@@ -2264,7 +2263,6 @@ static int ks_wlan_set_preamble(struct net_device *dev,
priv->need_commit |= SME_MODE_SET; priv->need_commit |= SME_MODE_SET;
return -EINPROGRESS; /* Call commit handler */ return -EINPROGRESS; /* Call commit handler */
} }
/*------------------------------------------------------------------*/ /*------------------------------------------------------------------*/
...@@ -2933,7 +2931,6 @@ static int ks_wlan_get_eeprom_cksum(struct net_device *dev, ...@@ -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) static void print_hif_event(struct net_device *dev, int event)
{ {
switch (event) { switch (event) {
case HIF_DATA_REQ: case HIF_DATA_REQ:
netdev_info(dev, "HIF_DATA_REQ\n"); netdev_info(dev, "HIF_DATA_REQ\n");
...@@ -3353,7 +3350,6 @@ void send_packet_complete(void *arg1, void *arg2) ...@@ -3353,7 +3350,6 @@ void send_packet_complete(void *arg1, void *arg2)
dev_kfree_skb(packet); dev_kfree_skb(packet);
packet = NULL; packet = NULL;
} }
} }
/* Set or clear the multicast filter for this adaptor. /* Set or clear the multicast filter for this adaptor.
...@@ -3388,7 +3384,6 @@ int ks_wlan_open(struct net_device *dev) ...@@ -3388,7 +3384,6 @@ int ks_wlan_open(struct net_device *dev)
static static
int ks_wlan_close(struct net_device *dev) int ks_wlan_close(struct net_device *dev)
{ {
netif_stop_queue(dev); netif_stop_queue(dev);
DPRINTK(4, "%s: Shutting down ethercard, status was 0x%4.4x.\n", DPRINTK(4, "%s: Shutting down ethercard, status was 0x%4.4x.\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment