diff --git a/scst/src/scst_copy_mgr.c b/scst/src/scst_copy_mgr.c index 2b873f088..c59233ba8 100644 --- a/scst/src/scst_copy_mgr.c +++ b/scst/src/scst_copy_mgr.c @@ -3548,8 +3548,8 @@ static int scst_cm_mgmt(struct scst_sysfs_work_item *work) d->scsi_dev->channel == channel && d->scsi_dev->id == id && d->scsi_dev->lun == lun) { - dev = d; - break; + dev = d; + break; } } if (dev == NULL) {