aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/aacraid
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/aacraid
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/aacraid')
-rw-r--r--drivers/scsi/aacraid/linit.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/scsi/aacraid/linit.c b/drivers/scsi/aacraid/linit.c
index c2be8380dad5..b48843402cf4 100644
--- a/drivers/scsi/aacraid/linit.c
+++ b/drivers/scsi/aacraid/linit.c
@@ -367,14 +367,6 @@ static int aac_ioctl(struct scsi_device *sdev, int cmd, void __user * arg)
367} 367}
368 368
369/* 369/*
370 * XXX: does aac really need no error handling??
371 */
372static int aac_eh_abort(struct scsi_cmnd *cmd)
373{
374 return FAILED;
375}
376
377/*
378 * aac_eh_reset - Reset command handling 370 * aac_eh_reset - Reset command handling
379 * @scsi_cmd: SCSI command block causing the reset 371 * @scsi_cmd: SCSI command block causing the reset
380 * 372 *
@@ -683,7 +675,6 @@ static struct scsi_host_template aac_driver_template = {
683 .bios_param = aac_biosparm, 675 .bios_param = aac_biosparm,
684 .shost_attrs = aac_attrs, 676 .shost_attrs = aac_attrs,
685 .slave_configure = aac_slave_configure, 677 .slave_configure = aac_slave_configure,
686 .eh_abort_handler = aac_eh_abort,
687 .eh_host_reset_handler = aac_eh_reset, 678 .eh_host_reset_handler = aac_eh_reset,
688 .can_queue = AAC_NUM_IO_FIB, 679 .can_queue = AAC_NUM_IO_FIB,
689 .this_id = 16, 680 .this_id = 16,