HID: prodikeys: remove unused variable
authorJiri Slaby <jslaby@suse.cz>
Tue, 5 May 2015 08:09:53 +0000 (10:09 +0200)
committerJiri Kosina <jkosina@suse.cz>
Thu, 7 May 2015 08:33:58 +0000 (10:33 +0200)
commitc6f2104caaf00720a3a7a456af07f93a160693af
tree00cdd597af619f8b24f2532e0acfba1dc5d9b6bd
parentd6ea2f88ac3659b799d8079a4fbda4f8faf6ff90
HID: prodikeys: remove unused variable

'key' is set but never used in the first loop. So remove the set.

And indent the re-set of pm->last_key properly.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-prodikeys.c