mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 10:58:49 +08:00
procfs: When addition of memset from previous commit, it is no longer necessary to set individual fields to zero.
This commit is contained in:
parent
74d30a0dbc
commit
e8d6676e18
1 changed files with 0 additions and 5 deletions
|
@ -1007,11 +1007,6 @@ static int procfs_stat(struct inode *mountpt, const char *relpath,
|
|||
}
|
||||
}
|
||||
|
||||
/* File/directory size, access block size */
|
||||
|
||||
buf->st_size = 0;
|
||||
buf->st_blksize = 0;
|
||||
buf->st_blocks = 0;
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue