

Signed-off-by: Andrew Morton <akpm@osdl.org>
---

 25-akpm/fs/partitions/check.c |    2 --
 1 files changed, 2 deletions(-)

diff -puN fs/partitions/check.c~register_disk-hack-warnings fs/partitions/check.c
--- 25/fs/partitions/check.c~register_disk-hack-warnings	2004-11-29 23:00:23.604536936 -0800
+++ 25-akpm/fs/partitions/check.c	2004-11-29 23:00:38.800226840 -0800
@@ -325,10 +325,8 @@ static void disk_sysfs_symlinks(struct g
 /* Not exported, helper to add_disk(). */
 void register_disk(struct gendisk *disk)
 {
-	struct parsed_partitions *state;
 	struct block_device *bdev;
 	char *s;
-	int j;
 	int err;
 
 	strlcpy(disk->kobj.name,disk->disk_name,KOBJ_NAME_LEN);
_
