mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 06:42:32 +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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user