diff options
Diffstat (limited to 'drivers/s390/char/tape_34xx.c')
-rw-r--r-- | drivers/s390/char/tape_34xx.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/drivers/s390/char/tape_34xx.c b/drivers/s390/char/tape_34xx.c index 9aa79702b370..de69f0ddc321 100644 --- a/drivers/s390/char/tape_34xx.c +++ b/drivers/s390/char/tape_34xx.c | |||
@@ -773,13 +773,11 @@ tape_34xx_unit_check(struct tape_device *device, struct tape_request *request, | |||
773 | "occurred\n"); | 773 | "occurred\n"); |
774 | return tape_34xx_erp_failed(request, -EIO); | 774 | return tape_34xx_erp_failed(request, -EIO); |
775 | case 0x57: | 775 | case 0x57: |
776 | if (device->cdev->id.driver_info == tape_3480) { | 776 | /* |
777 | /* Attention intercept. */ | 777 | * 3480: Attention intercept. |
778 | return tape_34xx_erp_retry(request); | 778 | * 3490: Global status intercept. |
779 | } else { | 779 | */ |
780 | /* Global status intercept. */ | 780 | return tape_34xx_erp_retry(request); |
781 | return tape_34xx_erp_retry(request); | ||
782 | } | ||
783 | case 0x5a: | 781 | case 0x5a: |
784 | /* | 782 | /* |
785 | * Tape length incompatible. The tape inserted is too long, | 783 | * Tape length incompatible. The tape inserted is too long, |