From: "René Scharfe" <l.s.r@web.de>
To: linux-kernel@vger.kernel.org
Cc: trivial@rustcorp.com.au
Subject: Remove unused variables from fs/partitions/check.c
Date: Thu, 17 Oct 2002 20:58:40 +0200 [thread overview]
Message-ID: <200210172058.40939.l.s.r@web.de> (raw)
Hi,
there's a surprising number of unused variables in fs/partitions/check.c
of kernel 2.5.43. This patch removes them.
René
--- linux-2.5.43/fs/partitions/check.c~ Wed Oct 16 18:51:31 2002
+++ linux-2.5.43/fs/partitions/check.c Thu Oct 17 20:46:00 2002
@@ -189,8 +189,6 @@ static void devfs_create_partitions(stru
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;
@@ -226,10 +224,6 @@ static void devfs_create_partitions(stru
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)
reply other threads:[~2002-10-17 18:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200210172058.40939.l.s.r@web.de \
--to=l.s.r@web.de \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@rustcorp.com.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox