[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1445113533-28116-1-git-send-email-paulmcquad@gmail.com>
Date: Sat, 17 Oct 2015 21:25:33 +0100
From: Paul McQuade <paulmcquad@...il.com>
To: paulmcquad@...il.com
Cc: sgruszka@...hat.com, helmut.schaa@...glemail.com,
kvalo@...eaurora.org, linux-wireless@...r.kernel.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] net: wireless: rt2x00: statics code style
Do not initialise statics to 0 or NULL
Also use tabs where possible
Signed-off-by: Paul McQuade <paulmcquad@...il.com>
---
drivers/net/wireless/rt2x00/rt61pci.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c
index c0e730e..53bd23d 100644
--- a/drivers/net/wireless/rt2x00/rt61pci.c
+++ b/drivers/net/wireless/rt2x00/rt61pci.c
@@ -39,7 +39,7 @@
/*
* Allow hardware encryption to be disabled.
*/
-static bool modparam_nohwcrypt = false;
+static bool modparam_nohwcrypt;
module_param_named(nohwcrypt, modparam_nohwcrypt, bool, S_IRUGO);
MODULE_PARM_DESC(nohwcrypt, "Disable hardware encryption.");
@@ -1388,7 +1388,7 @@ static bool rt61pci_get_entry_state(struct queue_entry *entry)
rt2x00_desc_read(entry_priv->desc, 0, &word);
return (rt2x00_get_field32(word, TXD_W0_OWNER_NIC) ||
- rt2x00_get_field32(word, TXD_W0_VALID));
+ rt2x00_get_field32(word, TXD_W0_VALID));
}
}
--
2.6.1
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists