diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/message/fusion/mptsas.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c index 90660bfa148c..2512d0e6155e 100644 --- a/drivers/message/fusion/mptsas.c +++ b/drivers/message/fusion/mptsas.c | |||
@@ -304,9 +304,8 @@ mptsas_slave_alloc(struct scsi_device *sdev) | |||
304 | } | 304 | } |
305 | mutex_unlock(&hd->ioc->sas_topology_mutex); | 305 | mutex_unlock(&hd->ioc->sas_topology_mutex); |
306 | 306 | ||
307 | printk("No matching SAS device found!!\n"); | ||
308 | kfree(vdev); | 307 | kfree(vdev); |
309 | return -ENODEV; | 308 | return -ENXIO; |
310 | 309 | ||
311 | out: | 310 | out: |
312 | vtarget->ioc_id = vdev->ioc_id; | 311 | vtarget->ioc_id = vdev->ioc_id; |