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

From: Stephen Rothwell
Date: Mon Aug 26 2019 - 07:50:25 EST


Hi all,

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

drivers/devfreq/governor_passive.c: In function 'devfreq_passive_event_handler':
drivers/devfreq/governor_passive.c:152:17: warning: unused variable 'dev' [-Wunused-variable]
struct device *dev = devfreq->dev.parent;
^~~

Introduced by commit

0ef7c7cce43f ("PM / devfreq: passive: Use non-devm notifiers")

--
Cheers,
Stephen Rothwell

Attachment: pgp0fNoGDM0rt.pgp
Description: OpenPGP digital signature