From de9433550b01547c3207de9f7060092242c91569 Mon Sep 17 00:00:00 2001 From: Heinrich Schuchardt Date: Thu, 19 Jan 2023 15:37:40 +0100 Subject: fs/fat: avoid noisy message fat_read_file() UEFI applications call file system functions to determine if a file exists. The return codes are evaluated to show appropriate messages. U-Boot's file system layer should not interfere with the output. Rename file_fat_read_at() to fat_read_file() adjusting the parameter sequence and names and eliminate the old wrapper function. Signed-off-by: Heinrich Schuchardt Reviewed-by: Tom Rini Reviewed-by: Ilias Apalodimas --- include/fat.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/fat.h') diff --git a/include/fat.h b/include/fat.h index bd8e450b33a..a9756fb4cd1 100644 --- a/include/fat.h +++ b/include/fat.h @@ -200,8 +200,6 @@ static inline u32 sect_to_clust(fsdata *fsdata, int sect) int file_fat_detectfs(void); int fat_exists(const char *filename); int fat_size(const char *filename, loff_t *size); -int file_fat_read_at(const char *filename, loff_t pos, void *buffer, - loff_t maxsize, loff_t *actread); int file_fat_read(const char *filename, void *buffer, int maxsize); int fat_set_blk_dev(struct blk_desc *rbdd, struct disk_partition *info); int fat_register_device(struct blk_desc *dev_desc, int part_no); -- cgit v1.2.3