aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/g_NCR5380.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/g_NCR5380.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/g_NCR5380.h')
-rw-r--r--drivers/scsi/g_NCR5380.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/scsi/g_NCR5380.h b/drivers/scsi/g_NCR5380.h
index 0c04cefb2a88..c8adc5a94884 100644
--- a/drivers/scsi/g_NCR5380.h
+++ b/drivers/scsi/g_NCR5380.h
@@ -49,8 +49,6 @@ static int generic_NCR5380_detect(Scsi_Host_Template *);
49static int generic_NCR5380_release_resources(struct Scsi_Host *); 49static int generic_NCR5380_release_resources(struct Scsi_Host *);
50static int generic_NCR5380_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *)); 50static int generic_NCR5380_queue_command(Scsi_Cmnd *, void (*done)(Scsi_Cmnd *));
51static int generic_NCR5380_bus_reset(Scsi_Cmnd *); 51static int generic_NCR5380_bus_reset(Scsi_Cmnd *);
52static int generic_NCR5380_host_reset(Scsi_Cmnd *);
53static int generic_NCR5380_device_reset(Scsi_Cmnd *);
54static const char* generic_NCR5380_info(struct Scsi_Host *); 52static const char* generic_NCR5380_info(struct Scsi_Host *);
55 53
56#ifndef CMD_PER_LUN 54#ifndef CMD_PER_LUN
@@ -114,8 +112,6 @@ static const char* generic_NCR5380_info(struct Scsi_Host *);
114#define NCR5380_queue_command generic_NCR5380_queue_command 112#define NCR5380_queue_command generic_NCR5380_queue_command
115#define NCR5380_abort generic_NCR5380_abort 113#define NCR5380_abort generic_NCR5380_abort
116#define NCR5380_bus_reset generic_NCR5380_bus_reset 114#define NCR5380_bus_reset generic_NCR5380_bus_reset
117#define NCR5380_device_reset generic_NCR5380_device_reset
118#define NCR5380_host_reset generic_NCR5380_host_reset
119#define NCR5380_pread generic_NCR5380_pread 115#define NCR5380_pread generic_NCR5380_pread
120#define NCR5380_pwrite generic_NCR5380_pwrite 116#define NCR5380_pwrite generic_NCR5380_pwrite
121#define NCR5380_proc_info notyet_generic_proc_info 117#define NCR5380_proc_info notyet_generic_proc_info