mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-21 12:41:26 +00:00
scst: Remove a superfluous assignment from scst_register_virtual_device()
Signed-off-by: Bart Van Assche <bvanassche@acm.org> git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@4367 d57e44dd-8a1f-0410-8b47-8ef2f437770f
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user