inode/i_private: remove all unnecessary cast for i_private

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2023-08-29 12:16:49 +08:00 committed by Alin Jerpelea
parent f556cb106a
commit b60f01a55b
110 changed files with 406 additions and 411 deletions

View file

@ -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 */