* [2.5 patch] remove an unused function from nsp32.c
@ 2003-06-21 23:59 Adrian Bunk
0 siblings, 0 replies; only message in thread
From: Adrian Bunk @ 2003-06-21 23:59 UTC (permalink / raw)
To: YOKOTA Hiroshi, GOTO Masanori; +Cc: linux-scsi, linux-kernel, trivial
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-06-21 23:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-06-21 23:59 [2.5 patch] remove an unused function from nsp32.c Adrian Bunk
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®