diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2024-04-09 22:56:43 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2024-04-23 13:40:29 +0300 |
commit | 61fad0a90685d3aaafb05fb6abc1fe39fbb90320 (patch) | |
tree | 858c6aeb98e25fde518158636f79cc633ba44640 /drivers/thermal/k3_bandgap.c | |
parent | 0a0c8db8843c5d5e22e2ee275c35d6ecd0659414 (diff) | |
download | linux-61fad0a90685d3aaafb05fb6abc1fe39fbb90320.tar.xz |
thermal/drivers/k3_bandgap: Remove some unused fields in struct k3_bandgap
In "struct k3_bandgap", the 'conf' field is unused.
Remove it.
Found with cppcheck, unusedStructMember.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/206d39bed9ec6df9b4d80b1fc064e499389fc7fc.1712687420.git.christophe.jaillet@wanadoo.fr
Diffstat (limited to 'drivers/thermal/k3_bandgap.c')
-rw-r--r-- | drivers/thermal/k3_bandgap.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/thermal/k3_bandgap.c b/drivers/thermal/k3_bandgap.c index e88192d2afea..2a703770fc91 100644 --- a/drivers/thermal/k3_bandgap.c +++ b/drivers/thermal/k3_bandgap.c @@ -78,7 +78,6 @@ static const int k3_adc_to_temp[] = { struct k3_bandgap { void __iomem *base; - const struct k3_bandgap_data *conf; }; /* common data structures */ |