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

From: Stephen Rothwell
Date: Mon Jul 23 2018 - 01:39:22 EST


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: pgpqu2MgftgY1.pgp
Description: OpenPGP digital signature