Skip to content

Commit 61fad0a

Browse files
tititiou36dlezcano
authored andcommitted
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 <[email protected]> Signed-off-by: Daniel Lezcano <[email protected]> Link: https://lore.kernel.org/r/206d39bed9ec6df9b4d80b1fc064e499389fc7fc.1712687420.git.christophe.jaillet@wanadoo.fr
1 parent 0a0c8db commit 61fad0a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/thermal/k3_bandgap.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@ static const int k3_adc_to_temp[] = {
7878

7979
struct k3_bandgap {
8080
void __iomem *base;
81-
const struct k3_bandgap_data *conf;
8281
};
8382

8483
/* common data structures */

0 commit comments

Comments
 (0)