staging: comedi: no need to evade comedi_auto_unconfig()
[deliverable/linux.git] / drivers / staging / comedi / comedi_fops.c
index ffa64228c3cf2f744e1800588ae52b41cfe3ec4d..a155bf2c659222f6402d0a5bc0a097977854c6bc 100644 (file)
@@ -1635,9 +1635,6 @@ static long comedi_unlocked_ioctl(struct file *file, unsigned int cmd,
                }
                rc = do_devconfig_ioctl(dev,
                                        (struct comedi_devconfig __user *)arg);
-               if (rc == 0)
-                       /* Evade comedi_auto_unconfig(). */
-                       info->hardware_device = NULL;
                goto done;
        }
 
This page took 0.02581 seconds and 5 git commands to generate.