Skip to content

Commit b2728c0

Browse files
tititiou36groeck
authored andcommitted
hwmon: (stts751) Remove an unused field in struct stts751_priv
In "struct stts751_priv", the 'smbus_timeout' field is unused. Remove it. Found with cppcheck, unusedStructMember. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/94ccf9caaa6b0101351bf381f09f4428c5e0835c.1714511322.git.christophe.jaillet@wanadoo.fr Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent d8a66f3 commit b2728c0

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/hwmon/stts751.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ struct stts751_priv {
9191
int event_max, event_min;
9292
int therm;
9393
int hyst;
94-
bool smbus_timeout;
9594
int temp;
9695
unsigned long last_update, last_alert_update;
9796
u8 config;

0 commit comments

Comments
 (0)