Merged in dagar/nuttx/pr-telnet_unused_priv (pull request #803)
telnet.c priv only used if CONFIG_TELNET_SUPPORT_NAWS Approved-by: GregoryN <gnutt@nuttx.org>
This commit is contained in:
parent
1727e47d2e
commit
62fe15e87c
@ -1118,7 +1118,9 @@ static int telnet_poll(FAR struct file *filep, FAR struct pollfd *fds,
|
||||
static int common_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
|
||||
{
|
||||
FAR struct inode *inode = filep->f_inode;
|
||||
#ifdef CONFIG_TELNET_SUPPORT_NAWS
|
||||
FAR struct telnet_dev_s *priv = inode->i_private;
|
||||
#endif
|
||||
int ret;
|
||||
|
||||
switch (cmd)
|
||||
|
Loading…
Reference in New Issue
Block a user