Commit 6722e45c authored by Adrian Bunk's avatar Adrian Bunk Committed by Linus Torvalds

fs/partitions/acorn.c: remove dead code

I missed this when I did the arm26 removal.
Reported-by: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 266a813c
...@@ -275,16 +275,6 @@ adfspart_check_ADFS(struct parsed_partitions *state, struct block_device *bdev) ...@@ -275,16 +275,6 @@ adfspart_check_ADFS(struct parsed_partitions *state, struct block_device *bdev)
id = data[0x1fc] & 15; id = data[0x1fc] & 15;
put_dev_sector(sect); 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. * Work out start of non-adfs partition.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment