mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
fs/fat: remove distractive message in file_fat_read_at()
The message "reading %s\n" may be interesting when debugging but otherwise it is superfluous. Only output the message when debugging. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:

committed by
Tom Rini

parent
a327bde783
commit
d2f7158028
@ -1106,7 +1106,7 @@ int file_fat_read_at(const char *filename, loff_t pos, void *buffer,
|
|||||||
if (ret)
|
if (ret)
|
||||||
goto out_free_both;
|
goto out_free_both;
|
||||||
|
|
||||||
printf("reading %s\n", filename);
|
debug("reading %s\n", filename);
|
||||||
ret = get_contents(&fsdata, itr->dent, pos, buffer, maxsize, actread);
|
ret = get_contents(&fsdata, itr->dent, pos, buffer, maxsize, actread);
|
||||||
|
|
||||||
out_free_both:
|
out_free_both:
|
||||||
|
Reference in New Issue
Block a user