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

Stephen Rothwell
2018-07-23T05:39:21Z

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

Hi Greg,

After merging the tty tree, today's linux-next build (arm
multi_v7_defconfig) produced this warning:

drivers/tty/serial/8250/8250_exar.c: In function 'pci_xr17v35x_setup':
drivers/tty/serial/8250/8250_exar.c:380:31: warning: unused variable 'board' [-Wunused-variable]
const struct exar8250_board *board = priv->board;
^~~~~

Introduced by commit

328c11f24b57 ("serial: 8250_exar: Remove useless has_slave member")

--
Cheers,
Stephen Rothwell

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