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

From: Stephen Rothwell
Date: Mon Oct 26 2020 - 20:42:06 EST


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")

--
Cheers,
Stephen Rothwell

Attachment: pgpmkkZkqftrl.pgp
Description: OpenPGP digital signature