]> git.karo-electronics.de Git - linux-beck.git/commitdiff
rt2x00: checkpatch.pl error fixes for rt2500usb.c
authorMark Einon <mark.einon@gmail.com>
Sat, 6 Nov 2010 14:44:33 +0000 (15:44 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 15 Nov 2010 18:26:16 +0000 (13:26 -0500)
rt2500usb.c:42: ERROR: do not initialise statics to 0 or NULL

Signed-off-by: Mark Einon <mark.einon@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/rt2x00/rt2500usb.c

index 478c4f127ce601bc4be0d128ce19f4ff3e9703ec..10e51f208f07f1c09dff383e8ecb78dd9357eea4 100644 (file)
@@ -39,7 +39,7 @@
 /*
  * Allow hardware encryption to be disabled.
  */
-static int modparam_nohwcrypt = 0;
+static int modparam_nohwcrypt;
 module_param_named(nohwcrypt, modparam_nohwcrypt, bool, S_IRUGO);
 MODULE_PARM_DESC(nohwcrypt, "Disable hardware encryption.");