summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMoshe Piekarski <dev.rockbox@melachim.net>2011-09-17 22:49:30 +0000
committerSolomon Peachy <pizza@shaftnet.org>2020-06-30 21:11:52 +0000
commit0d24a7176e33dc6f5a67bf672d6ebea033903ce7 (patch)
tree2b1b5f6a8191e718459efdf65e5581e1b9b920f0
parenta2b8204718ae755faca75b1a66385f05085c3dab (diff)
downloadrockbox-0d24a7176e.tar.gz
rockbox-0d24a7176e.tar.bz2
rockbox-0d24a7176e.zip
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 <torne@wolfpuppy.org.uk> Change-Id: I558d4287189408c513dfbca49e13906cdb7918b1
-rw-r--r--firmware/common/disk.c11
1 files changed, 0 insertions, 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) */