projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
V4L/DVB (5549): Radio-sf16fmr2.c Replace fmr2_do_ioctl to use video_ioctl2
[powerpc.git]
/
drivers
/
scsi
/
scsi_ioctl.c
diff --git
a/drivers/scsi/scsi_ioctl.c
b/drivers/scsi/scsi_ioctl.c
index
a89c411
..
32293f4
100644
(file)
--- a/
drivers/scsi/scsi_ioctl.c
+++ b/
drivers/scsi/scsi_ioctl.c
@@
-110,11
+110,8
@@
static int ioctl_internal_command(struct scsi_device *sdev, char *cmd,
sshdr.asc, sshdr.ascq);
break;
case NOT_READY: /* This happens if there is no disc in drive */
sshdr.asc, sshdr.ascq);
break;
case NOT_READY: /* This happens if there is no disc in drive */
- if (sdev->removable && (cmd[0] != TEST_UNIT_READY)) {
- printk(KERN_INFO "Device not ready. Make sure"
- " there is a disc in the drive.\n");
+ if (sdev->removable)
break;
break;
- }
case UNIT_ATTENTION:
if (sdev->removable) {
sdev->changed = 1;
case UNIT_ATTENTION:
if (sdev->removable) {
sdev->changed = 1;