From b3855a377fd14d5bb9cf18e55b4098456a96afb0 Mon Sep 17 00:00:00 2001 From: Vladislav Bolkhovitin Date: Wed, 20 Jun 2012 02:05:45 +0000 Subject: [PATCH] scst: Remove a superfluous assignment from scst_register_virtual_device() Signed-off-by: Bart Van Assche git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4367 d57e44dd-8a1f-0410-8b47-8ef2f437770f --- scst/src/scst_main.c | 2 -- 1 file changed, 2 deletions(-) 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;