提交 81ba9926 编写于 作者: M Mathias Krause 提交者: Jiri Kosina

HID: usbhid: remove unneeded initialization of quirks_param[]

The quirks_param array is located in the BSS, no need to explicitly
initialize it with NULL.
Signed-off-by: NMathias Krause <minipli@googlemail.com>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 d6b92c2c
......@@ -58,7 +58,7 @@ module_param_named(ignoreled, ignoreled, uint, 0644);
MODULE_PARM_DESC(ignoreled, "Autosuspend with active leds");
/* Quirks specified at module load time */
static char *quirks_param[MAX_USBHID_BOOT_QUIRKS] = { [ 0 ... (MAX_USBHID_BOOT_QUIRKS - 1) ] = NULL };
static char *quirks_param[MAX_USBHID_BOOT_QUIRKS];
module_param_array_named(quirks, quirks_param, charp, NULL, 0444);
MODULE_PARM_DESC(quirks, "Add/modify USB HID quirks by specifying "
" quirks=vendorID:productID:quirks"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册