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

From: Stephen Rothwell
Date: Wed Aug 18 2021 - 02:30:12 EST


Hi all,

After merging the i2c tree, today's linux-next build (powerpc
allyesconfig) produced this warning:

drivers/i2c/busses/i2c-virtio.c: In function 'virtio_i2c_probe':
drivers/i2c/busses/i2c-virtio.c:208:17: warning: unused variable 'pdev' [-Wunused-variable]
208 | struct device *pdev = vdev->dev.parent;
| ^~~~

Introduced by commit

8fb12751ac78 ("i2c: virtio: add a virtio i2c frontend driver")

--
Cheers,
Stephen Rothwell

Attachment: pgpEszUHvsFSI.pgp
Description: OpenPGP digital signature