[SCSI] Remove no-op implementations of SCSI EH hooks
Drivers need not implement a hook that returns FAILED, and does nothing else, since the SCSI midlayer code will do that for us. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
This commit is contained in:
@@ -96,9 +96,7 @@ static int t128_biosparam(struct scsi_device *, struct block_device *,
|
||||
sector_t, int*);
|
||||
static int t128_detect(Scsi_Host_Template *);
|
||||
static int t128_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
|
||||
static int t128_host_reset(Scsi_Cmnd *);
|
||||
static int t128_bus_reset(Scsi_Cmnd *);
|
||||
static int t128_device_reset(Scsi_Cmnd *);
|
||||
|
||||
#ifndef CMD_PER_LUN
|
||||
#define CMD_PER_LUN 2
|
||||
@@ -140,8 +138,6 @@ static int t128_device_reset(Scsi_Cmnd *);
|
||||
#define do_NCR5380_intr do_t128_intr
|
||||
#define NCR5380_queue_command t128_queue_command
|
||||
#define NCR5380_abort t128_abort
|
||||
#define NCR5380_host_reset t128_host_reset
|
||||
#define NCR5380_device_reset t128_device_reset
|
||||
#define NCR5380_bus_reset t128_bus_reset
|
||||
#define NCR5380_proc_info t128_proc_info
|
||||
|
||||
|
||||
Reference in New Issue
Block a user