]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/hid/hid-apple.c
HID: apple: swap_opt_cmd is already zero-initialized
[karo-tx-linux.git] / drivers / hid / hid-apple.c
index 3b219b9553fba5e2e57f6e8cc6316d457cd3b804..497558127bb3e63609af2b5e1f75265f9e7b1423 100644 (file)
@@ -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. "