FAT: remove debugging printf syslinux-4.00-pre14
authorH. Peter Anvin <hpa@zytor.com>
Mon, 1 Feb 2010 04:20:09 +0000 (20:20 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 1 Feb 2010 04:20:09 +0000 (20:20 -0800)
Remove debugging printf which snuck in...

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/fs/fat/fat.c

index 23a5512..ea692a4 100644 (file)
@@ -115,11 +115,8 @@ static sector_t get_next_sector(struct fs_info* fs, uint32_t sector)
     cluster = data_sector >> clust_shift;
     cluster = get_next_cluster(fs, cluster + 2) - 2;
 
-    if (cluster >= sbi->clusters) {
-       printf("Logical cluster = 0x%x, total clusters = 0x%x\n",
-              cluster + 2, sbi->clusters);
+    if (cluster >= sbi->clusters)
        return 0;
-    }
     
     /* return the start of the new cluster */
     sector = (cluster << clust_shift) + data_area;