[PATCH 5/5] Staging: csr: sme_blocking.c: fix up minor spacing errors.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: root <root@ubuntu.(none)>

This patch cleans up minor spacing errors in coding style.

Signed-off-by: Sungju Huh <sjhuh@xxxxxxxxxxxxxxxxx>
---
 drivers/staging/csr/sme_blocking.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/staging/csr/sme_blocking.c b/drivers/staging/csr/sme_blocking.c
index 610ee92..00f2ff6 100644
--- a/drivers/staging/csr/sme_blocking.c
+++ b/drivers/staging/csr/sme_blocking.c
@@ -316,7 +316,7 @@ int sme_mgt_scan_full(unifi_priv_t *priv,
 	int num_channels,
 	unsigned char *channel_list)
 {
-	CsrWifiMacAddress bcastAddress = {{0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF }};
+	CsrWifiMacAddress bcastAddress = { {0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF } };
 	u8 is_active = (num_channels > 0) ? TRUE : FALSE;
 	int r;
 
@@ -427,7 +427,7 @@ int sme_mgt_scan_results_get_async(unifi_priv_t *priv,
 	unifi_trace(priv, UDBG2,
 		"scan_results: Scan translated to %d bytes\n",
 		current_ev - scan_results);
-	return (current_ev - scan_results);
+	return current_ev - scan_results;
 }
 
 
@@ -1221,13 +1221,13 @@ int sme_mgt_connection_stats_get(unifi_priv_t *priv, CsrWifiSmeConnectionStats *
 
 int sme_mgt_packet_filter_set(unifi_priv_t *priv)
 {
-	CsrWifiIp4Address ipAddress = {{0xFF, 0xFF, 0xFF, 0xFF }};
+	CsrWifiIp4Address ipAddress = { {0xFF, 0xFF, 0xFF, 0xFF } };
 	if (priv->smepriv == NULL) {
 		unifi_error(priv, "sme_mgt_packet_filter_set: invalid smepriv\n");
 		return -EIO;
 	}
 	if (priv->packet_filters.arp_filter) {
-		ipAddress.a[0] = (priv->sta_ip_address      ) & 0xFF;
+		ipAddress.a[0] = (priv->sta_ip_address) & 0xFF;
 		ipAddress.a[1] = (priv->sta_ip_address >>  8) & 0xFF;
 		ipAddress.a[2] = (priv->sta_ip_address >> 16) & 0xFF;
 		ipAddress.a[3] = (priv->sta_ip_address >> 24) & 0xFF;
-- 
1.7.9.5

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux