Remove unused variables from fs/partitions/check.c
Hi,
there's a surprising number of unused variables in fs/partitions/check.c of kernel 2.5.43. This patch removes them.
René
fs/partitions/check.c renamed from fs/partitions/check.c~ +0 -6
@@ -189,8 +189,6 @@ static void devfs_create_partitions(struunsigned int devfs_flags =DEVFS_FL_DEFAULT ;char dirname[64 ], symlink[16 ];static devfs_handle_t devfs_handle; -int part, max_p = dev->minors; -struct hd_struct *p = dev->part;if (dev->flags &GENHD_FL_REMOVABLE ) devfs_flags |=DEVFS_FL_REMOVABLE ;
@@ -226,10 +224,6 @@ static void devfs_create_partitions(strustatic void devfs_create_cdrom (struct gendisk *dev) {#ifdef CONFIG_DEVFS_FS -int pos =0 ; -devfs_handle_t dir, slave; -unsigned int devfs_flags =DEVFS_FL_DEFAULT ; -char dirname[64 ], symlink[16 ];char vname[23 ];if (!cdroms)