Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 1 participant 1 message Oct 27, 2020 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

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

drivers/thermal/gov_power_allocator.c: In function 'power_allocator_unbind':
drivers/thermal/gov_power_allocator.c:587:33: warning: unused variable 'params' [-Wunused-variable]
587 | struct power_allocator_params *params = tz->governor_data;
| ^~~~~~

Introduced by commit

ee7e92c62370 ("drivers/thermal: Remove unnecessary structure members allocated_tzp")

Signature · 2 lines
Cheers,
Stephen Rothwell