From: Mark Einon Date: Sat, 6 Nov 2010 14:47:46 +0000 (+0100) Subject: rt2x00: checkpatch.pl error fixes for rt73usb.c X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=821cde63b5bd04bc3ca0f95e2abf17b04e640488;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git rt2x00: checkpatch.pl error fixes for rt73usb.c rt73usb.c:43: ERROR: do not initialise statics to 0 or NULL Signed-off-by: Mark Einon Signed-off-by: Ivo van Doorn Signed-off-by: John W. Linville --- diff --git a/drivers/net/wireless/rt2x00/rt73usb.c b/drivers/net/wireless/rt2x00/rt73usb.c index dcb9211c4771..29602b5f01f8 100644 --- a/drivers/net/wireless/rt2x00/rt73usb.c +++ b/drivers/net/wireless/rt2x00/rt73usb.c @@ -40,7 +40,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.");