From: Adrian Bunk I missed this when I did the arm26 removal. Reported-by: Robert P. J. Day Signed-off-by: Adrian Bunk Signed-off-by: Andrew Morton --- fs/partitions/acorn.c | 10 ---------- 1 file changed, 10 deletions(-) diff -puN fs/partitions/acorn.c~fs-partitions-acornc-remove-dead-code fs/partitions/acorn.c --- a/fs/partitions/acorn.c~fs-partitions-acornc-remove-dead-code +++ a/fs/partitions/acorn.c @@ -275,16 +275,6 @@ adfspart_check_ADFS(struct parsed_partit 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. */ _