[PATCH 2.6.13-rc6] remove dead reset function from cpqfcTS driver

Rolf Eike Beer
2005-08-16T09:13:11Z

cpqfcTS_reset() is never referenced from anywhere. By using the nonexistent
constant SCSI_RESET_ERROR it causes just another unneeded compile error.

Signed-off-by: Rolf Eike Beer <eike-kernel@sf-tec.de>

--- a/drivers/scsi/cpqfcTSinit.c 2005-08-13 09:34:20.000000000 +0200
+++ b/drivers/scsi/cpqfcTSinit.c 2005-08-13 10:36:19.000000000 +0200
@@ -1693,16 +1695,6 @@ int cpqfcTS_eh_device_reset(Scsi_Cmnd *C
return retval;
}

-
-int cpqfcTS_reset(Scsi_Cmnd *Cmnd, unsigned int reset_flags)
-{
-
- ENTER("cpqfcTS_reset");
-
- LEAVE("cpqfcTS_reset");
- return SCSI_RESET_ERROR; /* Bus Reset Not supported */
-}
-
/* This function determines the bios parameters for a given
harddisk. These tend to be numbers that are made up by the
host adapter. Parameters:
--- a/drivers/scsi/cpqfcTS.h 2005-08-07 20:18:56.000000000 +0200
+++ b/drivers/scsi/cpqfcTS.h 2005-08-13 14:02:44.000000000 +0200
@@ -9,7 +9,6 @@ extern const char * cpqfcTS_info(struct
extern int cpqfcTS_proc_info(struct Scsi_Host *, char *, char **, off_t, int,
int);
extern int cpqfcTS_queuecommand(Scsi_Cmnd *, void (* done)(Scsi_Cmnd *));
extern int cpqfcTS_abort(Scsi_Cmnd *);
-extern int cpqfcTS_reset(Scsi_Cmnd *, unsigned int);
extern int cpqfcTS_eh_abort(Scsi_Cmnd *Cmnd);
extern int cpqfcTS_eh_device_reset(Scsi_Cmnd *);
extern int cpqfcTS_biosparam(struct scsi_device *, struct block_device *,