Commit 486fd404fbc840e28a959d2f2842b6c46ed6b250
Committed by
Linus Torvalds
1 parent
40086ea17e
Exists in
master
and in
39 other branches
[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>
Showing 4 changed files with 2 additions and 10 deletions Side-by-side Diff
fs/partitions/Makefile
fs/partitions/check.c
... | ... | @@ -79,9 +79,6 @@ |
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 |
fs/partitions/check.h
fs/partitions/msdos.c
... | ... | @@ -202,12 +202,12 @@ |
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) |