patch-2_6_7-vs1_9_1_12
[linux-2.6.git] / drivers / scsi / scsi.c
index 4cff61b..12f8187 100644 (file)
@@ -977,8 +977,6 @@ int scsi_track_queue_full(struct scsi_device *sdev, int depth)
  */
 int scsi_device_get(struct scsi_device *sdev)
 {
-       if(!sdev)
-               return -ENXIO;
        if (sdev->sdev_state == SDEV_DEL || sdev->sdev_state == SDEV_CANCEL)
                return -ENXIO;
        if (!get_device(&sdev->sdev_gendev))