projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
266a813
)
fs/partitions/acorn.c: remove dead code
author
Adrian Bunk
<
[email protected]
>
Thu, 16 Oct 2008 05:04:20 +0000
(22:04 -0700)
committer
Linus Torvalds
<
[email protected]
>
Thu, 16 Oct 2008 18:21:47 +0000
(11:21 -0700)
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]
>
fs/partitions/acorn.c
patch
|
blob
|
history
diff --git
a/fs/partitions/acorn.c
b/fs/partitions/acorn.c
index 3d3e16631472212bca09147967724161e2f4022d..a97b477ac0fc38b4e691f6c980b06cc6d921e05a 100644
(file)
--- 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.
*/