From: Christophe JAILLET Date: Tue, 9 Apr 2024 19:56:43 +0000 (+0200) Subject: thermal/drivers/k3_bandgap: Remove some unused fields in struct k3_bandgap X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=61fad0a90685d3aaafb05fb6abc1fe39fbb90320;p=linux.git 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 Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/206d39bed9ec6df9b4d80b1fc064e499389fc7fc.1712687420.git.christophe.jaillet@wanadoo.fr --- diff --git a/drivers/thermal/k3_bandgap.c b/drivers/thermal/k3_bandgap.c index e88192d2afeae..2a703770fc917 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 */