From: Jiri Kosina Date: Mon, 14 Oct 2013 14:07:42 +0000 (+0200) Subject: HID: apple: swap_opt_cmd is already zero-initialized X-Git-Tag: Ubuntu-snapdragon-4.4.0-1050.54~11355^2^6~7 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=a94c79bdc972f7b3d66756043edbd6d04e8486d6;p=mirror_ubuntu-artful-kernel.git HID: apple: swap_opt_cmd is already zero-initialized Global static variable is already zero-initialized. Signed-off-by: Jiri Kosina --- diff --git a/drivers/hid/hid-apple.c b/drivers/hid/hid-apple.c index 3b219b9553fb..497558127bb3 100644 --- a/drivers/hid/hid-apple.c +++ b/drivers/hid/hid-apple.c @@ -46,7 +46,7 @@ module_param(iso_layout, uint, 0644); MODULE_PARM_DESC(iso_layout, "Enable/Disable hardcoded ISO-layout of the keyboard. " "(0 = disabled, [1] = enabled)"); -static unsigned int swap_opt_cmd = 0; +static unsigned int swap_opt_cmd; module_param(swap_opt_cmd, uint, 0644); MODULE_PARM_DESC(swap_opt_cmd, "Swap the Option (\"Alt\") and Command (\"Flag\") keys. " "(For people who want to keep Windows PC keyboard muscle memory. "