linux-next: build warning after merge of the driver-core.current tree

Stephen Rothwell
2022-04-21T05:27:03Z

[-- Attachment #1: Type: text/plain, Size: 507 bytes --]

Hi all,

After merging the driver-core.current tree, today's linux-next build
(x86_64 allnoconfig) produced this warning:

drivers/base/topology.c: In function 'topology_is_visible':
drivers/base/topology.c:158:24: warning: unused variable 'dev' [-Wunused-variable]
158 | struct device *dev = kobj_to_dev(kobj);
| ^~~

Introduced by commit

aa63a74d4535 ("topology/sysfs: Hide PPIN on systems that do not support it.")

--
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]