Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 23493
b: refs/heads/master
c: 2af10a8
h: refs/heads/master
i:
  23491: 807b3f9
v: v3
  • Loading branch information
Brian King authored and Jeff Garzik committed Mar 24, 2006
1 parent 1e5a43c commit 0190f89
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: eb3f0f9c6c3416016565c8b91644d7386889e565
refs/heads/master: 2af10a818de1658f818601c7098056d65a772bc5
13 changes: 0 additions & 13 deletions trunk/drivers/scsi/libata-scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -267,20 +267,8 @@ int ata_task_ioctl(struct scsi_device *scsidev, void __user *arg)

int ata_scsi_ioctl(struct scsi_device *scsidev, int cmd, void __user *arg)
{
struct ata_port *ap;
struct ata_device *dev;
int val = -EINVAL, rc = -EINVAL;

ap = (struct ata_port *) &scsidev->host->hostdata[0];
if (!ap)
goto out;

dev = ata_scsi_find_dev(ap, scsidev);
if (!dev) {
rc = -ENODEV;
goto out;
}

switch (cmd) {
case ATA_IOC_GET_IO32:
val = 0;
Expand Down Expand Up @@ -309,7 +297,6 @@ int ata_scsi_ioctl(struct scsi_device *scsidev, int cmd, void __user *arg)
break;
}

out:
return rc;
}

Expand Down

0 comments on commit 0190f89

Please sign in to comment.