diff --git a/scst/src/scst_main.c b/scst/src/scst_main.c index 9b31e8369..0d448701d 100644 --- a/scst/src/scst_main.c +++ b/scst/src/scst_main.c @@ -1179,8 +1179,6 @@ int scst_register_virtual_device(struct scst_dev_type *dev_handler, scst_virt_dev_last_id = 1; } - res = dev->virt_id; - res = scst_pr_init_dev(dev); if (res != 0) goto out_free_dev;