diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-05-28 13:52:51 +0200 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-17 19:04:45 +0200 |
commit | 3471c288036bf0835a82d0b1bbce2002f6e68390 (patch) | |
tree | 9a646a16877b7c600c583a32f703dd02a621c603 /drivers/scsi/t128.h | |
parent | [SCSI] Remove unnecessary locking around completion function calls (diff) | |
download | linux-3471c288036bf0835a82d0b1bbce2002f6e68390.tar.xz linux-3471c288036bf0835a82d0b1bbce2002f6e68390.zip |
[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.h | 4 |
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 *, 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 |