mirror of
https://github.com/apache/nuttx.git
synced 2026-10-09 23:35:47 +00:00
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
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue