Signed-off-by: Andrey Smirnov <andrew.smir...@gmail.com> --- fs/fs.c | 3 --- 1 file changed, 3 deletions(-)
diff --git a/fs/fs.c b/fs/fs.c index 65de82518..878a18e17 100644 --- a/fs/fs.c +++ b/fs/fs.c @@ -848,15 +848,12 @@ static void stat_inode(struct inode *inode, struct stat *s) int fstat(int fd, struct stat *s) { FILE *f; - struct fs_device_d *fsdev; if (check_fd(fd)) return -errno; f = &files[fd]; - fsdev = f->fsdev; - stat_inode(f->f_inode, s); return 0; -- 2.20.1 _______________________________________________ barebox mailing list barebox@lists.infradead.org http://lists.infradead.org/mailman/listinfo/barebox