]> git.baikalelectronics.ru Git - kernel.git/commit
HID: asus: Remove unused variable in asus_report_tool_width()
authorColin Ian King <colin.i.king@gmail.com>
Mon, 24 Oct 2022 16:11:02 +0000 (17:11 +0100)
committerJiri Kosina <jkosina@suse.cz>
Wed, 2 Nov 2022 13:11:06 +0000 (14:11 +0100)
commita6e1eb92f077dfc44a70c77415d9cacbfc7218e3
tree476c4c42fd08ff2c856db9e06fad9ce26b312ad0
parent14777e64ca0ff4ffbbf6659d07d8d8886f8f9e89
HID: asus: Remove unused variable in asus_report_tool_width()

Variable count is just being incremented and it's never used
anywhere else. The variable and the increment are redundant so
remove it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-asus.c