aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/t128.h
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@pobox.com>2005-05-28 07:52:51 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-06-17 13:04:45 -0400
commit3471c288036bf0835a82d0b1bbce2002f6e68390 (patch)
tree9a646a16877b7c600c583a32f703dd02a621c603 /drivers/scsi/t128.h
parente3df715501be3329986e5d9dfa9a477f49e7996b (diff)
[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>
Diffstat (limited to 'drivers/scsi/t128.h')
-rw-r--r--drivers/scsi/t128.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/t128.h b/drivers/scsi/t128.h
index 161ba53d982b..9ad1d68827a7 100644
--- a/drivers/scsi/t128.h
+++ b/drivers/scsi/t128.h
@@ -96,9 +96,7 @@ static int t128_biosparam(struct scsi_device *, struct block_device *,
96 sector_t, int*); 96 sector_t, int*);
97static int t128_detect(Scsi_Host_Template *); 97static int t128_detect(Scsi_Host_Template *);
98static int t128_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); 98static int t128_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
99static int t128_host_reset(Scsi_Cmnd *);
100static int t128_bus_reset(Scsi_Cmnd *); 99static int t128_bus_reset(Scsi_Cmnd *);
101static int t128_device_reset(Scsi_Cmnd *);
102 100
103#ifndef CMD_PER_LUN 101#ifndef CMD_PER_LUN
104#define CMD_PER_LUN 2 102#define CMD_PER_LUN 2
@@ -140,8 +138,6 @@ static int t128_device_reset(Scsi_Cmnd *);
140#define do_NCR5380_intr do_t128_intr 138#define do_NCR5380_intr do_t128_intr
141#define NCR5380_queue_command t128_queue_command 139#define NCR5380_queue_command t128_queue_command
142#define NCR5380_abort t128_abort 140#define NCR5380_abort t128_abort
143#define NCR5380_host_reset t128_host_reset
144#define NCR5380_device_reset t128_device_reset
145#define NCR5380_bus_reset t128_bus_reset 141#define NCR5380_bus_reset t128_bus_reset
146#define NCR5380_proc_info t128_proc_info 142#define NCR5380_proc_info t128_proc_info
147 143