diff --git a/fs/fat/fs_fat32.c b/fs/fat/fs_fat32.c index eb64e83ee5d..d7554930064 100644 --- a/fs/fat/fs_fat32.c +++ b/fs/fat/fs_fat32.c @@ -442,7 +442,6 @@ static int fat_close(FAR struct file *filep) if (ff->ff_buffer) { - (void)fs; /* Unused if fat_io_free == free(). */ fat_io_free(ff->ff_buffer, fs->fs_hwsectorsize); }