Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1763314AbYCAQY5 (ORCPT ); Sat, 1 Mar 2008 11:24:57 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756949AbYCAQVW (ORCPT ); Sat, 1 Mar 2008 11:21:22 -0500 Received: from smtp5.pp.htv.fi ([213.243.153.39]:39039 "EHLO smtp5.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762611AbYCAQVT (ORCPT ); Sat, 1 Mar 2008 11:21:19 -0500 Date: Sat, 1 Mar 2008 18:19:53 +0200 From: Adrian Bunk To: linux-kernel@vger.kernel.org Cc: "Robert P. J. Day" Subject: [2.6 patch] fs/partitions/acorn.c: remove dead code Message-ID: <20080301161953.GR25835@cs181133002.pp.htv.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1196 Lines: 38 I missed this when I did the arm26 removal. Reported-by: Robert P. J. Day Signed-off-by: Adrian Bunk --- fs/partitions/acorn.c | 10 ---------- 1 file changed, 10 deletions(-) f7dc697bb2d04227b2f41a9d56f626fbd65c3d9d foobar diff --git a/fs/partitions/acorn.c b/fs/partitions/acorn.c index 3d3e166..a97b477 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. */ -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/