projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8a66f3
)
hwmon: (stts751) Remove an unused field in struct stts751_priv
author
Christophe JAILLET
<christophe.jaillet@wanadoo.fr>
Tue, 30 Apr 2024 21:09:07 +0000
(23:09 +0200)
committer
Guenter Roeck
<linux@roeck-us.net>
Wed, 1 May 2024 14:47:49 +0000
(07:47 -0700)
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>
drivers/hwmon/stts751.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/hwmon/stts751.c
b/drivers/hwmon/stts751.c
index 427a65dd6f19994c672221f606091e94f9a59c00..e7632081a1d1458c697d83b1f7f7d7367e9cadbd 100644
(file)
--- a/
drivers/hwmon/stts751.c
+++ b/
drivers/hwmon/stts751.c
@@
-91,7
+91,6
@@
struct stts751_priv {
int event_max, event_min;
int therm;
int hyst;
- bool smbus_timeout;
int temp;
unsigned long last_update, last_alert_update;
u8 config;