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

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
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -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)
+0 −1
Original line number Diff line number Diff line
@@ -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;
+0 −5
Original line number Diff line number Diff line
@@ -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",