aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fd_mcs.c
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/fd_mcs.c
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/fd_mcs.c')
-rw-r--r--drivers/scsi/fd_mcs.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/drivers/scsi/fd_mcs.c b/drivers/scsi/fd_mcs.c
index 770930e2aec3..4a358aec2e59 100644
--- a/drivers/scsi/fd_mcs.c
+++ b/drivers/scsi/fd_mcs.c
@@ -1241,16 +1241,6 @@ static int fd_mcs_abort(Scsi_Cmnd * SCpnt)
1241 return SUCCESS; 1241 return SUCCESS;
1242} 1242}
1243 1243
1244static int fd_mcs_host_reset(Scsi_Cmnd * SCpnt)
1245{
1246 return FAILED;
1247}
1248
1249static int fd_mcs_device_reset(Scsi_Cmnd * SCpnt)
1250{
1251 return FAILED;
1252}
1253
1254static int fd_mcs_bus_reset(Scsi_Cmnd * SCpnt) { 1244static int fd_mcs_bus_reset(Scsi_Cmnd * SCpnt) {
1255 struct Scsi_Host *shpnt = SCpnt->device->host; 1245 struct Scsi_Host *shpnt = SCpnt->device->host;
1256 1246
@@ -1357,8 +1347,6 @@ static Scsi_Host_Template driver_template = {
1357 .queuecommand = fd_mcs_queue, 1347 .queuecommand = fd_mcs_queue,
1358 .eh_abort_handler = fd_mcs_abort, 1348 .eh_abort_handler = fd_mcs_abort,
1359 .eh_bus_reset_handler = fd_mcs_bus_reset, 1349 .eh_bus_reset_handler = fd_mcs_bus_reset,
1360 .eh_host_reset_handler = fd_mcs_host_reset,
1361 .eh_device_reset_handler = fd_mcs_device_reset,
1362 .bios_param = fd_mcs_biosparam, 1350 .bios_param = fd_mcs_biosparam,
1363 .can_queue = 1, 1351 .can_queue = 1,
1364 .this_id = 7, 1352 .this_id = 7,