From 0d24a7176e33dc6f5a67bf672d6ebea033903ce7 Mon Sep 17 00:00:00 2001 From: Moshe Piekarski Date: Sat, 17 Sep 2011 22:49:30 +0000 Subject: Also remove the fat_partition_types array. If we aren't going to check for the partition type, we don't need the array of known FAT partition types. Original Author: Torne Wuff Change-Id: I558d4287189408c513dfbca49e13906cdb7918b1 --- firmware/common/disk.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/firmware/common/disk.c b/firmware/common/disk.c index 25c7330032..795bed9457 100644 --- a/firmware/common/disk.c +++ b/firmware/common/disk.c @@ -68,17 +68,6 @@ (((uint32_t)array[pos+0] << 0) | \ ((uint32_t)array[pos+1] << 8)) -static const unsigned char fat_partition_types[] = -{ - 0x0b, 0x1b, /* FAT32 + hidden variant */ - 0x0c, 0x1c, /* FAT32 (LBA) + hidden variant */ -#ifdef HAVE_FAT16SUPPORT - 0x04, 0x14, /* FAT16 <= 32MB + hidden variant */ - 0x06, 0x16, /* FAT16 > 32MB + hidden variant */ - 0x0e, 0x1e, /* FAT16 (LBA) + hidden variant */ -#endif -}; - /* space for 4 partitions on 2 drives */ static struct partinfo part[NUM_DRIVES*4]; /* mounted to which drive (-1 if none) */ -- cgit v1.2.3