Skip to content

Commit 8a22f96

Browse files
tititiou36dtor
authored andcommitted
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>
1 parent a08b8f8 commit 8a22f96

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/input/misc/da7280.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,6 @@ struct da7280_haptic {
230230
struct i2c_client *client;
231231
struct pwm_device *pwm_dev;
232232

233-
bool legacy;
234233
struct work_struct work;
235234
int val;
236235
u16 gain;

0 commit comments

Comments
 (0)