mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
inode/i_private: remove all unnecessary cast for i_private
Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
parent
f556cb106a
commit
b60f01a55b
110 changed files with 406 additions and 411 deletions
|
|
@ -110,7 +110,7 @@ static int nxterm_open(FAR struct file *filep)
|
|||
/* Get the driver structure from the inode */
|
||||
|
||||
inode = filep->f_inode;
|
||||
priv = (FAR struct nxterm_state_s *)inode->i_private;
|
||||
priv = inode->i_private;
|
||||
DEBUGASSERT(priv);
|
||||
|
||||
/* Verify that the driver is opened for write-only access */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue