diff options
author | Jeff Garzik <jgarzik@pobox.com> | 2005-05-28 07:52:51 -0400 |
---|---|---|
committer | Jeff Garzik <jgarzik@pobox.com> | 2005-06-17 13:04:45 -0400 |
commit | 3471c288036bf0835a82d0b1bbce2002f6e68390 (patch) | |
tree | 9a646a16877b7c600c583a32f703dd02a621c603 /drivers/scsi/sym53c416.c | |
parent | e3df715501be3329986e5d9dfa9a477f49e7996b (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/sym53c416.c')
-rw-r--r-- | drivers/scsi/sym53c416.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/drivers/scsi/sym53c416.c b/drivers/scsi/sym53c416.c index ebfddd40ce67..ca9a04cf4d3f 100644 --- a/drivers/scsi/sym53c416.c +++ b/drivers/scsi/sym53c416.c | |||
@@ -785,21 +785,6 @@ int sym53c416_queuecommand(Scsi_Cmnd *SCpnt, void (*done)(Scsi_Cmnd *)) | |||
785 | return 0; | 785 | return 0; |
786 | } | 786 | } |
787 | 787 | ||
788 | static int sym53c416_abort(Scsi_Cmnd *SCpnt) | ||
789 | { | ||
790 | return FAILED; | ||
791 | } | ||
792 | |||
793 | static int sym53c416_bus_reset(Scsi_Cmnd *SCpnt) | ||
794 | { | ||
795 | return FAILED; | ||
796 | } | ||
797 | |||
798 | static int sym53c416_device_reset(Scsi_Cmnd *SCpnt) | ||
799 | { | ||
800 | return FAILED; | ||
801 | } | ||
802 | |||
803 | static int sym53c416_host_reset(Scsi_Cmnd *SCpnt) | 788 | static int sym53c416_host_reset(Scsi_Cmnd *SCpnt) |
804 | { | 789 | { |
805 | int base; | 790 | int base; |
@@ -865,10 +850,7 @@ static Scsi_Host_Template driver_template = { | |||
865 | .detect = sym53c416_detect, | 850 | .detect = sym53c416_detect, |
866 | .info = sym53c416_info, | 851 | .info = sym53c416_info, |
867 | .queuecommand = sym53c416_queuecommand, | 852 | .queuecommand = sym53c416_queuecommand, |
868 | .eh_abort_handler = sym53c416_abort, | ||
869 | .eh_host_reset_handler =sym53c416_host_reset, | 853 | .eh_host_reset_handler =sym53c416_host_reset, |
870 | .eh_bus_reset_handler = sym53c416_bus_reset, | ||
871 | .eh_device_reset_handler =sym53c416_device_reset, | ||
872 | .release = sym53c416_release, | 854 | .release = sym53c416_release, |
873 | .bios_param = sym53c416_bios_param, | 855 | .bios_param = sym53c416_bios_param, |
874 | .can_queue = 1, | 856 | .can_queue = 1, |