diff options
author | Torne Wuff <torne@wolfpuppy.org.uk> | 2011-09-17 22:49:30 +0000 |
---|---|---|
committer | Torne Wuff <torne@wolfpuppy.org.uk> | 2011-09-17 22:49:30 +0000 |
commit | e12a8327584e8ddbff7341d612bac732096764fa (patch) | |
tree | a81404dc4d36dc4896253e68f927e6a7d6364a47 /firmware/common | |
parent | 36d04ac76e1334ace25ce34e221072ce70bc4a32 (diff) | |
download | rockbox-e12a8327584e8ddbff7341d612bac732096764fa.tar.gz rockbox-e12a8327584e8ddbff7341d612bac732096764fa.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.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30567 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/common')
-rw-r--r-- | firmware/common/disk.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/firmware/common/disk.c b/firmware/common/disk.c index b77f2e294a..e3a7aaaa3d 100644 --- a/firmware/common/disk.c +++ b/firmware/common/disk.c | |||
@@ -46,16 +46,6 @@ | |||
46 | ((long)array[pos] | ((long)array[pos+1] << 8 ) | \ | 46 | ((long)array[pos] | ((long)array[pos+1] << 8 ) | \ |
47 | ((long)array[pos+2] << 16 ) | ((long)array[pos+3] << 24 )) | 47 | ((long)array[pos+2] << 16 ) | ((long)array[pos+3] << 24 )) |
48 | 48 | ||
49 | static const unsigned char fat_partition_types[] = { | ||
50 | 0x0b, 0x1b, /* FAT32 + hidden variant */ | ||
51 | 0x0c, 0x1c, /* FAT32 (LBA) + hidden variant */ | ||
52 | #ifdef HAVE_FAT16SUPPORT | ||
53 | 0x04, 0x14, /* FAT16 <= 32MB + hidden variant */ | ||
54 | 0x06, 0x16, /* FAT16 > 32MB + hidden variant */ | ||
55 | 0x0e, 0x1e, /* FAT16 (LBA) + hidden variant */ | ||
56 | #endif | ||
57 | }; | ||
58 | |||
59 | static struct partinfo part[NUM_DRIVES*4]; /* space for 4 partitions on 2 drives */ | 49 | static struct partinfo part[NUM_DRIVES*4]; /* space for 4 partitions on 2 drives */ |
60 | static int vol_drive[NUM_VOLUMES]; /* mounted to which drive (-1 if none) */ | 50 | static int vol_drive[NUM_VOLUMES]; /* mounted to which drive (-1 if none) */ |
61 | static struct mutex disk_mutex; | 51 | static struct mutex disk_mutex; |