mirror of
https://github.com/apache/nuttx.git
synced 2025-12-08 19:02:43 +08:00
Correct the code alignment
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
f987668068
commit
4c167b0729
@@ -101,7 +101,7 @@ const struct file_operations g_nxterm_drvrops =
|
||||
static int nxterm_open(FAR struct file *filep)
|
||||
{
|
||||
FAR struct inode *inode = filep->f_inode;
|
||||
FAR struct nxterm_state_s *priv = inode->i_private;
|
||||
FAR struct nxterm_state_s *priv = inode->i_private;
|
||||
|
||||
DEBUGASSERT(filep && filep->f_inode);
|
||||
|
||||
|
||||
@@ -327,8 +327,8 @@ int nxterm_poll(FAR struct file *filep, FAR struct pollfd *fds, bool setup)
|
||||
|
||||
/* Remove all memory of the poll setup */
|
||||
|
||||
*slot = NULL;
|
||||
fds->priv = NULL;
|
||||
*slot = NULL;
|
||||
fds->priv = NULL;
|
||||
}
|
||||
|
||||
errout:
|
||||
|
||||
Reference in New Issue
Block a user