[PATCH] small partitions/msdos cleanups

This patch makes the following changes to the msdos partition code:
- remove CONFIG_NEC98_PARTITION leftovers
- make parse_bsd static

This patch was already ACK'ed by Andries Brouwer.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

authored by Adrian Bunk and committed by Linus Torvalds 486fd404 40086ea1

+2 -10
-1
fs/partitions/Makefile
··· 17 17 obj-$(CONFIG_ULTRIX_PARTITION) += ultrix.o 18 18 obj-$(CONFIG_IBM_PARTITION) += ibm.o 19 19 obj-$(CONFIG_EFI_PARTITION) += efi.o 20 - obj-$(CONFIG_NEC98_PARTITION) += nec98.o msdos.o
-3
fs/partitions/check.c
··· 79 79 #ifdef CONFIG_LDM_PARTITION 80 80 ldm_partition, /* this must come before msdos */ 81 81 #endif 82 - #ifdef CONFIG_NEC98_PARTITION 83 - nec98_partition, /* must be come before `msdos_partition' */ 84 - #endif 85 82 #ifdef CONFIG_MSDOS_PARTITION 86 83 msdos_partition, 87 84 #endif
-4
fs/partitions/check.h
··· 30 30 31 31 extern int warn_no_part; 32 32 33 - extern void parse_bsd(struct parsed_partitions *state, 34 - struct block_device *bdev, u32 offset, u32 size, 35 - int origin, char *flavour, int max_partitions); 36 -
+2 -2
fs/partitions/msdos.c
··· 202 202 #endif 203 203 } 204 204 205 - #if defined(CONFIG_BSD_DISKLABEL) || defined(CONFIG_NEC98_PARTITION) 205 + #if defined(CONFIG_BSD_DISKLABEL) 206 206 /* 207 207 * Create devices for BSD partitions listed in a disklabel, under a 208 208 * dos-like partition. See parse_extended() for more information. 209 209 */ 210 - void 210 + static void 211 211 parse_bsd(struct parsed_partitions *state, struct block_device *bdev, 212 212 u32 offset, u32 size, int origin, char *flavour, 213 213 int max_partitions)