Re: linux-next: build warning after merge of the nfc-next tree

2018-06-17 Thread Stephen Rothwell
Hi all, On Tue, 12 Jun 2018 10:19:54 +1000 Stephen Rothwell wrote: > > After merging the nfc-next tree, today's linux-next build (x86_64 > allmodconfig) produced this warning: > > drivers/nfc/fdp/fdp.c: In function 'fdp_nci_open': > drivers/nfc/fdp/fdp.c:250:17: warning: unused variable 'dev'

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

2018-06-11 Thread Stephen Rothwell
Hi Samuel, After merging the nfc-next tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/nfc/fdp/fdp.c: In function 'fdp_nci_open': drivers/nfc/fdp/fdp.c:250:17: warning: unused variable 'dev' [-Wunused-variable] struct device *dev = &info->phy->i2c_dev->dev;