Input: da7280 - remove an unused field in struct da7280_haptic
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Wed, 1 May 2024 05:05:05 +0000 (07:05 +0200)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 6 May 2024 22:41:18 +0000 (15:41 -0700)
commit8a22f960096000462cd8e38276fe5217db3bf944
tree18bf0669c2c87ef8dcf100fdc9ea3c41d494d2aa
parenta08b8f8557ad88ffdff8905e5da972afe52e3307
Input: da7280 - remove an unused field in struct da7280_haptic

In "struct da7280_haptic", the 'legacy' field is unused.
Remove it.

Found with cppcheck, unusedStructMember.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/ac251b456933bcc6fe297b738f9304bd259185c1.1714539865.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/misc/da7280.c