From dcfefb6cb8d4f44cd85e0ae5bcc0873cb248d5e8 Mon Sep 17 00:00:00 2001 From: Lennert Buytenhek Date: Tue, 27 Jun 2006 14:36:20 +0100 Subject: [PATCH] --- yaml --- r: 30932 b: refs/heads/master c: ce5b0968b1caa6b93e366e88a3c5fa2fd59029ce h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/mtd/maps/ixp2000.c | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/[refs] b/[refs] index a71dd8b8ad8a..5798cb2c943b 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 2c06a0821711a53d51a3d0492a9be0671b7152e5 +refs/heads/master: ce5b0968b1caa6b93e366e88a3c5fa2fd59029ce diff --git a/trunk/drivers/mtd/maps/ixp2000.c b/trunk/drivers/mtd/maps/ixp2000.c index 2c9cc7f37e92..c26488a1793a 100644 --- a/trunk/drivers/mtd/maps/ixp2000.c +++ b/trunk/drivers/mtd/maps/ixp2000.c @@ -42,7 +42,6 @@ struct ixp2000_flash_info { struct map_info map; struct mtd_partition *partitions; struct resource *res; - int nr_banks; }; static inline unsigned long flash_bank_setup(struct map_info *map, unsigned long ofs) @@ -183,7 +182,6 @@ static int ixp2000_flash_probe(struct platform_device *dev) */ info->map.phys = NO_XIP; - info->nr_banks = ixp_data->nr_banks; info->map.size = ixp_data->nr_banks * window_size; info->map.bankwidth = 1;