From: Adrian Bunk <bunk@fs.tum.de>
To: YOKOTA Hiroshi <yokota@netlab.is.tsukuba.ac.jp>,
GOTO Masanori <gotom@debian.or.jp>
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
trivial@rustcorp.com.au
Subject: [2.5 patch] remove an unused function from nsp32.c
Date: Sun, 22 Jun 2003 01:59:27 +0200 [thread overview]
Message-ID: <20030621235927.GJ23337@fs.tum.de> (raw)
The patch below removes an unused function from nsp32.c .
I've tested the compilation with 2.5.72-mm2.
cu
Adrian
--- linux-2.5.72-mm2/drivers/scsi/nsp32.c.old 2003-06-22 01:13:40.000000000 +0200
+++ linux-2.5.72-mm2/drivers/scsi/nsp32.c 2003-06-22 01:14:00.000000000 +0200
@@ -283,7 +283,6 @@
static int nsp32_eh_abort(Scsi_Cmnd *);
static int nsp32_eh_bus_reset(Scsi_Cmnd *);
static int nsp32_eh_host_reset(Scsi_Cmnd *);
-static int nsp32_reset(Scsi_Cmnd *, unsigned int);
static int nsp32_proc_info(struct Scsi_Host *, char *, char **, off_t, int, int);
static int __devinit nsp32_probe(struct pci_dev *, const struct pci_device_id *);
static void __devexit nsp32_remove(struct pci_dev *);
@@ -1854,18 +1853,6 @@
}
-/*
- * error handler
- */
-static int nsp32_reset(Scsi_Cmnd *SCpnt, unsigned int reset_flags)
-{
- nsp32_dbg(NSP32_DEBUG_BUSRESET, "SCpnt=0x%p why=%d\n", SCpnt, reset_flags);
-
- nsp32_eh_bus_reset(SCpnt);
-
- return SCSI_RESET_SUCCESS | SCSI_RESET_BUS_RESET;
-}
-
static int nsp32_eh_abort(Scsi_Cmnd *SCpnt)
{
nsp32_hw_data *data = (nsp32_hw_data *)SCpnt->device->host->hostdata;
reply other threads:[~2003-06-21 23:45 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=20030621235927.GJ23337@fs.tum.de \
--to=bunk@fs.tum.de \
--cc=gotom@debian.or.jp \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=trivial@rustcorp.com.au \
--cc=yokota@netlab.is.tsukuba.ac.jp \
/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
all inboxes | Powered by JetHome®