mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [TRIVIAL] Removed unused variables in fs/partitions/check.c
@ 2002-11-05  6:11 David Gibson
  0 siblings, 0 replies; only message in thread
From: David Gibson @ 2002-11-05  6:11 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: linux-kernel, trivial

This squashes a bunch of unused variable warnings in
fs/partitions/check.c.

diff -urN /home/dgibson/kernel/linuxppc-2.5/fs/partitions/check.c linux-bluefish/fs/partitions/check.c
--- /home/dgibson/kernel/linuxppc-2.5/fs/partitions/check.c	2002-11-04 14:23:07.000000000 +1100
+++ linux-bluefish/fs/partitions/check.c	2002-11-05 16:48:54.000000000 +1100
@@ -190,8 +190,6 @@
 	unsigned 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;
@@ -227,10 +225,6 @@
 static 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)


-- 
David Gibson			| For every complex problem there is a
david@gibson.dropbear.id.au	| solution which is simple, neat and
				| wrong.
http://www.ozlabs.org/people/dgibson

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-11-05  6:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-05  6:11 [TRIVIAL] Removed unused variables in fs/partitions/check.c David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®