diff options
author | Adrian Bunk <bunk@kernel.org> | 2008-10-16 07:04:20 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-10-16 20:21:47 +0200 |
commit | 6722e45c2de622eaf5f26d370b9de19632ac7478 (patch) | |
tree | a378b34f2e5045530462ecc05613d370ac7484fb /fs | |
parent | firmware: use dev_printk when possible (diff) | |
download | linux-6722e45c2de622eaf5f26d370b9de19632ac7478.tar.xz linux-6722e45c2de622eaf5f26d370b9de19632ac7478.zip |
fs/partitions/acorn.c: remove dead code
I missed this when I did the arm26 removal.
Reported-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/partitions/acorn.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/fs/partitions/acorn.c b/fs/partitions/acorn.c index 3d3e16631472..a97b477ac0fc 100644 --- a/fs/partitions/acorn.c +++ b/fs/partitions/acorn.c @@ -275,16 +275,6 @@ adfspart_check_ADFS(struct parsed_partitions *state, struct block_device *bdev) id = data[0x1fc] & 15; put_dev_sector(sect); -#ifdef CONFIG_BLK_DEV_MFM - if (MAJOR(bdev->bd_dev) == MFM_ACORN_MAJOR) { - extern void xd_set_geometry(struct block_device *, - unsigned char, unsigned char, unsigned int); - xd_set_geometry(bdev, dr->secspertrack, heads, 1); - invalidate_bh_lrus(); - truncate_inode_pages(bdev->bd_inode->i_mapping, 0); - } -#endif - /* * Work out start of non-adfs partition. */ |