mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-27 11:55:53 +00:00
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: Mathias Krause <minipli@googlemail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
This commit is contained in:
parent
d6b92c2c37
commit
81ba992689
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user