From: Martin Schwidefsky <schwidefsky@de.ibm.com>
To: linux-kernel@vger.kernel.org, torvalds@transmeta.com
Subject: [PATCH] 2.5.48 s390 (13/16): xpram driver.
Date: Mon, 18 Nov 2002 20:22:36 +0100 [thread overview]
Message-ID: <200211182022.36722.schwidefsky@de.ibm.com> (raw)
Remove unused variable and add missing return in xpram_setup_blkdev.
diff -urN linux-2.5.48/drivers/s390/block/xpram.c linux-2.5.48-s390/drivers/s390/block/xpram.c
--- linux-2.5.48/drivers/s390/block/xpram.c Mon Nov 18 05:29:51 2002
+++ linux-2.5.48-s390/drivers/s390/block/xpram.c Mon Nov 18 20:12:02 2002
@@ -325,7 +325,6 @@
{
struct hd_geometry *geo;
unsigned long size;
- int idx = minor(inode->i_rdev);
if (cmd != HDIO_GETGEO)
return -EINVAL;
/*
@@ -474,6 +473,7 @@
out:
while (i--)
put_disk(xpram_disks[i]);
+ return rc;
}
/*
reply other threads:[~2002-11-18 19:29 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=200211182022.36722.schwidefsky@de.ibm.com \
--to=schwidefsky@de.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=torvalds@transmeta.com \
/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
Powered by JetHome