Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Christophe JAILLET and committed by
Guenter Roeck
b2728c09 d8a66f36

-1
-1
drivers/hwmon/stts751.c
··· 91 91 int event_max, event_min; 92 92 int therm; 93 93 int hyst; 94 - bool smbus_timeout; 95 94 int temp; 96 95 unsigned long last_update, last_alert_update; 97 96 u8 config;