linux-next: build warning after merge of the thermal tree

From: Stephen Rothwell
Date: Thu Aug 31 2017 - 20:52:12 EST


Hi Zhang,

After merging the thermal tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/thermal/int340x_thermal/int3406_thermal.c: In function 'int3406_thermal_get_limit':
drivers/thermal/int340x_thermal/int3406_thermal.c:116:6: warning: unused variable 'index' [-Wunused-variable]
int index;
^

Introduced by commit

c658894562ba ("Thermal: int3406_thermal: fix thermal sysfs I/F")

--
Cheers,
Stephen Rothwell