Skip to content

Commit cfdafdd

Browse files
tititiou36groeck
authored andcommitted
hwmon: (npcm750-pwm-fan) Remove an unused field in struct npcm7xx_cooling_device
In "struct npcm7xx_cooling_device", the 'fan_clk_freq' field is unused. Remove it. Found with cppcheck, unusedStructMember. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Link: https://lore.kernel.org/r/74eee8aa739f94b8c6425ce3e37a427ca92243ea.1714505655.git.christophe.jaillet@wanadoo.fr Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent b2728c0 commit cfdafdd

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

drivers/hwmon/npcm750-pwm-fan.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ struct npcm7xx_pwm_fan_data {
197197
void __iomem *fan_base;
198198
int pwm_modules;
199199
unsigned long pwm_clk_freq;
200-
unsigned long fan_clk_freq;
201200
struct clk *pwm_clk;
202201
struct clk *fan_clk;
203202
struct mutex pwm_lock[NPCM7XX_PWM_MAX_MODULES];

0 commit comments

Comments
 (0)