procfs: When addition of memset from previous commit, it is no longer necessary to set individual fields to zero.

This commit is contained in:
Gregory Nutt 2017-02-14 09:03:48 -06:00
parent 74d30a0dbc
commit e8d6676e18

View file

@ -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;
}