There appears to be nothing special here that warrants printing this
message irrespective of log level.

As there are no other debug prints in the file, just drop it.

Signed-off-by: Ahmad Fatoum <[email protected]>
---
 fs/fat/ff.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/fs/fat/ff.c b/fs/fat/ff.c
index 89b4f9fa5de7..e4d83a35605f 100644
--- a/fs/fat/ff.c
+++ b/fs/fat/ff.c
@@ -1957,7 +1957,6 @@ int f_write (
                                fp->clust = clst;               /* Update 
current cluster */
                        }
                        if (fp->flag & FA__DIRTY) {             /* Write-back 
sector cache */
-                               printf("wr sector cache\n");
                                if (disk_write(fp->fs, fp->buf, fp->dsect, 1) 
!= RES_OK)
                                        ABORT(fp->fs, -EIO);
                                fp->flag &= ~FA__DIRTY;
-- 
2.47.3


Reply via email to