Skip to content

Commit

Permalink
fs/partitions/acorn.c: remove dead code
Browse files Browse the repository at this point in the history
I missed this when I did the arm26 removal.

Reported-by: Robert P. J. Day <[email protected]>
Signed-off-by: Adrian Bunk <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
AdrianBunk authored and torvalds committed Oct 16, 2008
1 parent 266a813 commit 6722e45
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions fs/partitions/acorn.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 6722e45

Please sign in to comment.