Messages in this thread Patch in this message | | | Date | Sun, 22 Jun 2003 01:59:27 +0200 | From | Adrian Bunk <> | Subject | [2.5 patch] remove an unused function from nsp32.c |
| |
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; - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |