]> git.sur5r.net Git - u-boot/blobdiff - fs/fat/fat_write.c
fs: fat: Drop CONFIG_SUPPORT_VFAT
[u-boot] / fs / fat / fat_write.c
index cd65192da54771e815ef0a3b58282d6f8b9d18e5..2b753df2820dcddcdcd5fdbd72be9e0ba4e2035b 100644 (file)
@@ -819,8 +819,7 @@ static dir_entry *find_directory_entry(fsdata *mydata, int startsect,
                                continue;
                        }
                        if ((dentptr->attr & ATTR_VOLUME)) {
-                               if (vfat_enabled &&
-                                   (dentptr->attr & ATTR_VFAT) &&
+                               if ((dentptr->attr & ATTR_VFAT) &&
                                    (dentptr->name[0] & LAST_LONG_ENTRY_MASK)) {
                                        get_long_file_name(mydata, curclust,
                                                     get_dentfromdir_block,