summaryrefslogtreecommitdiffstats
path: root/drivers/usb/image
diff options
context:
space:
mode:
author <hch@lst.de>2005-04-11 05:19:25 +0200
committerJames Bottomley <jejb@titanic>2005-04-18 19:33:41 +0200
commit2bc474c3646efba67bdc83b7fc7d8ee7562e0106 (patch)
treee27a7c4392259688a25b3f8ca21668eb1e7fa201 /drivers/usb/image
parent[PATCH] scsi: remove meaningless scsi_cmnd->serial_number_at_timeout field (diff)
downloadlinux-2bc474c3646efba67bdc83b7fc7d8ee7562e0106.tar.xz
linux-2bc474c3646efba67bdc83b7fc7d8ee7562e0106.zip
[PATCH] kill old EH constants
Fix up two drivers that incorrectly were using the old return values for their new-style EH methods and kill off scsi_obsolete.h that defined the constants. The initio driver has all these constansts defined locally and uses them internally, I'll fix that up some time later. Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/usb/image')
-rw-r--r--drivers/usb/image/microtek.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/image/microtek.c b/drivers/usb/image/microtek.c
index de0d32f6618d..cab89a970c7f 100644
--- a/drivers/usb/image/microtek.c
+++ b/drivers/usb/image/microtek.c
@@ -335,7 +335,7 @@ static int mts_scsi_abort (Scsi_Cmnd *srb)
mts_urb_abort(desc);
- return SCSI_ABORT_PENDING;
+ return FAILURE;
}
static int mts_scsi_host_reset (Scsi_Cmnd *srb)